initFields

open fun initFields(testInstance: Any, jsonb: Jsonb)

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

Parameters

testInstance

the test instance

jsonb

the Jsonb instance


open fun initFields(testInstance: Any, jsonb: ObjectFactory<Jsonb>)

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

Parameters

testInstance

the test instance

jsonb

an object factory to create the Jsonb instance