initFields

open fun initFields(testInstance: Any, objectMapper: ObjectMapper)

Utility method to initialize JacksonTester fields. See class-level documentation for example usage.

Parameters

testInstance

the test instance

objectMapper

the object mapper

See also


open fun initFields(testInstance: Any, objectMapperFactory: ObjectFactory<ObjectMapper>)

Utility method to initialize JacksonTester fields. See class-level documentation for example usage.

Parameters

testInstance

the test instance

objectMapperFactory

a factory to create the object mapper

See also