/** * Prepare initializer with the given field on the given instance. * * <p> * This constructor fail fast if the field type cannot be handled. * </p> * * @param fieldOwner Instance of the test. * @param field Field to be initialize. */ public FieldInitializer(Object fieldOwner, Field field, ConstructorArgumentResolver argResolver) { this(fieldOwner, field, new ParameterizedConstructorInstantiator(fieldOwner, field, argResolver)); }
/** * Prepare initializer with the given field on the given instance. * * <p> * This constructor fail fast if the field type cannot be handled. * </p> * * @param fieldOwner Instance of the test. * @param field Field to be initialize. * @param argResolver Constructor parameters resolver */ public FieldInitializer(Object fieldOwner, Field field, ConstructorArgumentResolver argResolver) { this(fieldOwner, field, new ParameterizedConstructorInstantiator(fieldOwner, field, argResolver)); }
/** * Prepare initializer with the given field on the given instance. * * <p> * This constructor fail fast if the field type cannot be handled. * </p> * * @param fieldOwner Instance of the test. * @param field Field to be initialize. * @param argResolver Constructor parameters resolver */ public FieldInitializer(Object fieldOwner, Field field, ConstructorArgumentResolver argResolver) { this(fieldOwner, field, new ParameterizedConstructorInstantiator(fieldOwner, field, argResolver)); }