/** * Gets the field value. * * @return the value of the field */ public FieldAccess field() { FieldAccess field; if (path) { field = BeanUtils.idxField(objectUnderTest, name.toString()); if (field == null) { return fakeField(); } return field; } if (name instanceof Enum) { name = Str.camelCaseLower(name.toString()); } field = fields().get(name); return field; }