umock
History
-
2010-10-13 02:30:020.3Added callBackArgs() for sending the method parameters to the callback: mock.setupMethod("a").callBackArgs(function(args : Array<Dynamic>) { ... });
-
2010-10-13 02:02:580.21Added throwsLazy(). Default return values (no withParams() used) now works properly. withParams() can now be used with throws().
-
2010-10-12 15:13:030.2Added parameter constraints, so a mock object can now be setup like: mock.setupMethod("a").withParams("abc", It.IsAny(Int)).returns("xyz"); Also added lazy returns, so a mock object can now be setup like: mock.setupMethod("a").returnsLazy(function() { return someValue; });