what does >> and 1* means in this groovy statement?

This is not groovy per se, but the testing framework called Spock (which is very popular among Groovy developers, for good reasons 🙂 – http://spockframework.github.io/spock/docs/1.0/index.html

This expression in particular is a way to instruct Spock that it should expect exactly one call to the method prova in myService, and that this call should be mocked to return true. See Interaction based testing , in particular the section called Combining Mocking and Stubbing.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)