From: <ma...@bt...> - 2003-05-21 15:48:38
|
Glad that you got in there after a did a few renames - seeing you write the stuff below makes me happy that the new names are much clearer (I was finding it confusing too). You have certainly understood it. Tim > from: Barry Kaplan <bk...@in...> > date: Tue, 20 May 2003 18:35:34 > to: moc...@li... > cc: nat...@b1... > subject: Re: [MO-java-dev] dynamic.CallBag which allows any number of calls > > > > 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. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Mockobjects-java-dev mailing list > Moc...@li... > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev > |