public abstract class AbstractBeanMother extends Object implements BeanMother
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBeanMother() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
_bear(T target,
FixtureMap fixtureMap,
PostProcessor<T> postProcessor) |
BeanMother |
addFixtureLocation(String path) |
<T> T |
bear(String fixtureName,
Class<T> targetClass) |
<T> List<T> |
bear(String fixtureName,
Class<T> targetClass,
int size) |
<T> List<T> |
bear(String fixtureName,
Class<T> targetClass,
int size,
PostProcessor<T> postProcessor) |
<T> T |
bear(String fixtureName,
Class<T> targetClass,
PostProcessor<T> postProcessor) |
<T> T |
bear(String fixtureName,
T target) |
<T> T |
bear(String fixtureName,
T target,
PostProcessor<T> postProcessor) |
protected void |
configureConverterFactory(ConverterFactory converterFactory)
Configure the ConverterFactory
|
protected void |
configurePostProcessorFactory(PostProcessorFactory postProcessorFactory)
Configure the PostProcessorFactory
|
protected void |
configureScriptHandler(ScriptHandler scriptHandler)
Configure the ScriptHandler
|
protected String[] |
defaultFixturePaths() |
FixturesStore |
getFixturesStore() |
protected void |
initialize()
Initialize beanmother
|
public FixturesStore getFixturesStore()
public <T> T bear(String fixtureName, T target)
bear in interface BeanMotherpublic <T> T bear(String fixtureName, Class<T> targetClass)
bear in interface BeanMotherpublic <T> T bear(String fixtureName, T target, PostProcessor<T> postProcessor)
bear in interface BeanMotherpublic <T> T bear(String fixtureName, Class<T> targetClass, PostProcessor<T> postProcessor)
bear in interface BeanMotherpublic <T> List<T> bear(String fixtureName, Class<T> targetClass, int size)
bear in interface BeanMotherpublic <T> List<T> bear(String fixtureName, Class<T> targetClass, int size, PostProcessor<T> postProcessor)
bear in interface BeanMotherpublic BeanMother addFixtureLocation(String path)
addFixtureLocation in interface BeanMotherprotected <T> T _bear(T target,
FixtureMap fixtureMap,
PostProcessor<T> postProcessor)
protected String[] defaultFixturePaths()
protected void configureConverterFactory(ConverterFactory converterFactory)
protected void configureScriptHandler(ScriptHandler scriptHandler)
protected void configurePostProcessorFactory(PostProcessorFactory postProcessorFactory)
protected void initialize()
Copyright © 2018. All rights reserved.