use of io.spine.test.validate.msg.EnclosedMessageWithoutAnnotationFieldValue in project core-java by SpineEventEngine.
the class MessageValidatorShould method consider_field_is_valid_if_no_valid_option_set.
@Test
public void consider_field_is_valid_if_no_valid_option_set() {
final RequiredStringFieldValue invalidEnclosedMsg = RequiredStringFieldValue.getDefaultInstance();
final EnclosedMessageWithoutAnnotationFieldValue msg = EnclosedMessageWithoutAnnotationFieldValue.newBuilder().setOuterMsgField(invalidEnclosedMsg).build();
validate(msg);
assertIsValid(true);
}
Aggregations