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