Closed robfletcher 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
Reported by pniederw
on 2010-08-11 10:42:20
Wow... Thank you.. It's working for me.. Great.. Spock is rocking..
Reported by Mr.Amuthan
on 2010-08-12 04:47:59
Thanks for the praise!
Reported by pniederw
on 2010-08-12 14:13:12
WontFix
Originally reported on Google Code with ID 118
Reported by
Mr.Amuthan
on 2010-08-11 04:52:14