@Trait @CompileStatic trait ParameterizedGrailsUnitTest<T> extends GrailsUnitTest
Type Params | Return Type | Name and description |
---|---|---|
|
T |
getArtefactInstance() |
|
abstract String |
getBeanName(Class<?> artefactClass) |
|
Class<T> |
getTypeUnderTest() |
|
abstract void |
mockArtefact(Class<?> artefactClass) |
Methods inherited from class | Name |
---|---|
trait GrailsUnitTest |
cleanupGrailsApplication, defineBeans, defineBeans, doWithConfig, doWithSpring, getApplicationContext, getConfig, getGrailsApplication, getIncludePlugins, getLocalOverride, getMessageSource, getOptionalServletContext, loadExternalBeans |