exports.failLater = function() { return promise.delay( 500 ).then( function() { throw Error( "Failed!" ); } ); }
SnakeCaseController.prototype.test = function(){ return promise.delay(1).then(function(){ return {'result':'OK'}; }); }
exports.returnLater = function( what ) { return promise.delay( 500 ).then( function() { return what; } ); }