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