Mocha Sinon calls callback with arguments example
if a stub is called with this and this arguments, it should call the callback with this and these arguments (error-first):
before( 'getMetaDataFile', function () {
getMetadataFile.withArgs( 'a notebook folder', sinon.match.func )
.callsArgWithAsync( 1, null, {
name:'notebook name',
uuid:'notebook id'
} );
});