Class AbstractJsonMarshalTester.FieldInitializer<M>
java.lang.Object
org.springframework.boot.test.json.AbstractJsonMarshalTester.FieldInitializer<M>
- Type Parameters:
M- the marshaller type
- Enclosing class:
- AbstractJsonMarshalTester<T>
Utility class used to support field initialization. Used by subclasses to support
initFields.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFieldInitializer(Class<? extends AbstractJsonMarshalTester> testerClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AbstractJsonMarshalTester<Object>createTester(Class<?> resourceLoadClass, ResolvableType type, M marshaller) protected voiddoWithField(Field field, Object test, ObjectFactory<M> marshaller) voidinitFields(Object testInstance, M marshaller) voidinitFields(Object testInstance, ObjectFactory<M> marshaller)
-
Constructor Details
-
FieldInitializer
-
-
Method Details
-
initFields
-
initFields
-
doWithField
-
createTester
protected abstract AbstractJsonMarshalTester<Object> createTester(Class<?> resourceLoadClass, ResolvableType type, M marshaller)
-