Update javaxval/src/test/java/org/baeldung/javaxval/messageinterpolator/ParameterMessageInterpolaterIntegrationTest.java
update to use the givenX_whenY_thenZ naming convention for tests Co-Authored-By: KevinGilmore <kpg102@gmail.com>
This commit is contained in:
@@ -41,7 +41,7 @@ public class ParameterMessageInterpolaterIntegrationTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void ifAgeIsLess_ageMinValidationFails() {
|
||||
public void givenAgeIsLessThanMin_whenValidate_thenValidationFails() {
|
||||
Person person = new Person();
|
||||
person.setName("John Stephaner Doe");
|
||||
person.setAge(16);
|
||||
|
||||
Reference in New Issue
Block a user