From: Barry K. <bk...@in...> - 2003-05-20 17:37:07
|
Nat Pryce wrote: > There should be a CallOnce decorator that gets added to a call's chain of > decorators by the expect method or perhaps another syntactic sugar method > (expectOnce?). This might not have been implemented yet. Ok, I think I see. Mock.expect() does indeed decorate the call via callFactory.createCallExpectation(), which in turn creates a CallOnceExpectation. Where Mock.match() does /not/ perform this decoration. Thus I assume that match() will allow any number of calls. Cool. |