Vincent Massol wrote:
> On Aug 10, 2009, at 11:41 AM, sdumitriu (SVN) wrote:
>> -                oneOf(mockDocumentAccessBridge).getURL(null, "tex",  
>> null, null);
>> +                 
>> atLeast(2).of(mockDocumentAccessBridge).getURL(null, "tex", null,  
>> null);
> 
> are 2 calls really part of the contract?
> If you don't need to test the number of calls you should use allow().

I'm still learning the new JMock... Thanks for the tip


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to