Yes, you can write it this way:
SomeTests >> testXXX��[:mock1 :mock2 |��� �[mock1 someMessage. mock2 someMessage2]�should strictly satisfy:�� � �[mock1 someMessage willReturn: 'some'.�� � � mock2 someMessage2]��]�runScenario
I mean how does one use mocks specifically with SUnit. For example, from the
Dennis Schetinin wrote:
>
> It means you can just run Mocketry tests with SUnit test runner
>
HelpBook:
[:mock1 :mock2 | [mock1 someMessage. mock2 someMessage2]
� should strictly satisfy:
[mock1 someMessage willReturn: 'some'.
�mock2 someMessage2]]
� � � �runScenario
Where do I put that? Drop the whole thing including the #runScenario into a
#testXxx or what?
Thanks.
Sean
--
View this message in context: http://forum.world.st/Mocketry-tp3555258p3677175.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.