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:
Yavuz Tas
2019-10-29 10:02:16 +01:00
committed by GitHub
parent c8d8972a56
commit 2f989fb435

View File

@@ -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);