| Type | Name and description |
|---|---|
java.lang.String |
getBeanName(java.lang.Class<?> serviceClass) |
T |
getService() |
void |
mockArtefact(java.lang.Class<?> serviceClass)Mocks a service class, registering it with the application context |
| Methods inherited from class | Name |
|---|---|
trait ParameterizedGrailsUnitTest |
getArtefactInstance, getBeanName, getTypeUnderTest, mockArtefact |
trait GrailsUnitTest |
cleanupGrailsApplication, defineBeans, defineBeans, doWithConfig, doWithSpring, getApplicationContext, getConfig, getGrailsApplication, getIncludePlugins, getMessageSource, getOptionalServletContext, loadExternalBeans |
Mocks a service class, registering it with the application context
serviceClass - The service class