use of io.spine.validate.FloatFieldValidator in project core-java by SpineEventEngine.
the class FieldValidatorFactoryShould method create_float_field_validator.
@Test
public void create_float_field_validator() {
final FieldDescriptor field = FloatValue.getDescriptor().getFields().get(0);
final FieldValidator validator = FieldValidatorFactory.create(field, 0, FIELD_PATH);
assertTrue(validator instanceof FloatFieldValidator);
}
Aggregations