|
|
@@ -57,5 +57,6 @@ class ValidateNotSamePersonTest {
|
|
|
Person person = GetRandomPerson();
|
|
|
validateTwoFieldTypes.validateNotSamePerson(person, person, firstPersonFieldName, secondPersonFieldName, message, bindingResultMock);
|
|
|
verify(bindingResultMock).rejectValue(firstPersonFieldName, ApplicationConstants.EMPTY_STRING, null, message);
|
|
|
+ verify(bindingResultMock).rejectValue(secondPersonFieldName, ApplicationConstants.EMPTY_STRING, null, message);
|
|
|
}
|
|
|
}
|