Searched defs:Mock (Results 1 - 1 of 1) sorted by relevance

/yui3/src/test/js/
H A DMock.js4 * @class Mock
9 YUITest.Mock = function(template){
57 YUITest.Mock.expect = function(mock /*:Object*/, expectation /*:Object*/){
81 if (!(args[i] instanceof YUITest.Mock.Value)){
82 args[i] = YUITest.Mock.Value(YUITest.Assert.areSame, [args[i]], "Argument " + i + " of " + name + "() is incorrect.");
134 YUITest.Mock.verify = function(mock){
159 * @namespace Test.Mock
163 YUITest.Mock.Value = function(method, originalArgs, message){
164 if (this instanceof YUITest.Mock.Value){
172 return new YUITest.Mock
[all...]

Completed in 301 milliseconds