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