/** * 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) { this(fieldOwner, field, new NoArgConstructorInstantiator(fieldOwner, field)); }
/** * 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) { this(fieldOwner, field, new NoArgConstructorInstantiator(fieldOwner, field)); }
/** * 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) { this(fieldOwner, field, new NoArgConstructorInstantiator(fieldOwner, field)); }