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
|
@Test
|
||||||
public void ifAgeIsLess_ageMinValidationFails() {
|
public void givenAgeIsLessThanMin_whenValidate_thenValidationFails() {
|
||||||
Person person = new Person();
|
Person person = new Person();
|
||||||
person.setName("John Stephaner Doe");
|
person.setName("John Stephaner Doe");
|
||||||
person.setAge(16);
|
person.setAge(16);
|
||||||
|
|||||||
Reference in New Issue
Block a user