Mocking a service with GMock

29 Apr 2015
by 

Here is a short example of a Grails unit test using Gmock. I published this example because it took me too long to figure out
how to do this. Gmock is very nice to work with, but poorly documented. Maybe it safes you an hour. This example mocks a Solr search service.

Leave a Comment:

* - required fields

© Keienberg Consultants