Unit test a method returning an object of protected class

Following is an example of testing a method which returns an object of protect class: In the previous blog we talked about fetching the list of message codes from file. While writing the test case for CustomisedPluginAwareResourceBundleMessageSource, I was not able to test the message properties that are available...

by Neha Gupta
Tag: spock testing grails