April 23, 2014
1:02 p.m.
Hi, Le 17 avr. 2014 à 19:22, Attila Magyar a écrit :
Hi Christophe,
Sorry for my late response. You can use the following syntax to signal an error in response to an incoming message:
protocol describe once: mock recv: #msg; signals: Error.
I did not notice this one. Thanks! I have another point. Sometimes, I would like to test a method doing some other calls to methods of the same class. In this case, I would like to mock all the class methods but the method I would like to test. Do you sometime meet the same need? Is there a way to do that? Thanks, Christophe.