The spock documentation points out that you can extract assertions of then
block to other method and add assert
keyword before each assertion.
I would also like to extract interactions to helper method.
I tried wrapping interactions with interaction
closure block but that did not work.
Is it possible? If it is how to achieve it?