Why does my test not work when splitting mocking and stubbing?
I struggle with Spock/Groovy testing.
Don’t know why but in WHEN section, I cannot check number of calls and checking the value at once..
If I check one of them separatly all works fine!