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
ModifierConstructorDescriptionprotected
FieldInitializer
(Class<? extends AbstractJsonMarshalTester> testerClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AbstractJsonMarshalTester<Object>
createTester
(Class<?> resourceLoadClass, ResolvableType type, M marshaller) protected void
doWithField
(Field field, Object test, ObjectFactory<M> marshaller) void
initFields
(Object testInstance, M marshaller) void
initFields
(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)
-