@groovy.transform.Trait @groovy.transform.CompileStatic trait ParameterizedGrailsUnitTest<T> extends GrailsUnitTest
Modifiers | Name | Description |
---|---|---|
private T |
_artefactInstance |
Fields inherited from class | Fields |
---|---|
trait GrailsUnitTest |
_grailsApplication, _servletContext |
Type Params | Return Type | Name and description |
---|---|---|
|
T |
getArtefactInstance() |
|
abstract java.lang.String |
getBeanName(java.lang.Class<?> artefactClass) |
|
java.lang.Class<T> |
getTypeUnderTest() |
|
abstract void |
mockArtefact(java.lang.Class<?> artefactClass) |
Methods inherited from class | Name |
---|---|
trait GrailsUnitTest |
cleanupGrailsApplication, cleanupPromiseFactory, defineBeans, defineBeans, doWithConfig, doWithSpring, getApplicationContext, getConfig, getGrailsApplication, getIncludePlugins, getLocalOverride, getMessageSource, getOptionalServletContext, loadExternalBeans |