blob: a539d05e92650401d4e001da6863fa9873fafef1 [file] [log] [blame]
RapMock = function() {
this.fakeRemoteObject = {
set : function(){},
notify : function(){},
call : function(){}
};
this.typeHandler = {};
};
RapMock.prototype = {
on: function() {},
off: function() {},
registerTypeHandler : function( type, handler ) {
this.typeHandler[ type ] = handler;
},
getObject : function() {
return this.fakeComposite;
},
getRemoteObject : function() {
return this.fakeRemoteObject;
}
};
rap = new RapMock();