Mocking a service with GMock

29 Apr 2015
by cvringer

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© Keienberg Consultants