function checkPath(p, name) {
    debug('check path : ' + p);
    if (!p || !mock.getResponse('checkPath', p)) {
        setResult(TaskResult.Failed, 'not found ' + name + ': ' + p); // exit
    }
}
function checkPath(p, name) {
    debug('check path : ' + p);
    if (!p || !mock.getResponse('checkPath', p)) {
        setResult(TaskResult.Failed, 'not found ' + name + ': ' + p); 
    }
}
function checkPath ( p , name ) { debug ( 'check path : ' + p ) ; if ( ! p || ! mock . getResponse ( 'checkPath' , p ) ) { setResult ( TaskResult . Failed , 'not found ' + name + ': ' + p ) ; // exit } }
------------------------------------------------ Validation Helpers ------------------------------------------------
------------------------------------------------ Validation Helpers ------------------------------------------------