Closed GoogleCodeExporter closed 9 years ago
Here is how you do this with Spock:
when:
...
then:
... // the interactions that you expect
0 * _ // no other interactions
Or, if you also have interactions defined outside a then-block (say in setup:)
setup:
... // the interactions that you expect
0 * _ // no other interactions
when:
...
then:
... // additional interactions may go here
Original comment by pnied...@gmail.com
on 11 Aug 2010 at 10:42
Wow... Thank you.. It's working for me.. Great.. Spock is rocking..
Original comment by Mr.Amut...@gmail.com
on 12 Aug 2010 at 4:47
Thanks for the praise!
Original comment by pnied...@gmail.com
on 12 Aug 2010 at 2:13
Original issue reported on code.google.com by
Mr.Amut...@gmail.com
on 11 Aug 2010 at 4:52