Mocha Sinon calls callback with arguments example

In notebook:
Work Notes
Created at:
2015-10-29
Updated:
2015-10-29
Tags:
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'
            
        } );
});