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:
@@ -54,7 +54,7 @@ public class ParameterMessageInterpolaterIntegrationTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void ifEmailIsMalformed_emailFormatValidationFails() {
|
||||
public void givenEmailIsMalformed_whenValidate_thenValidationFails() {
|
||||
Person person = new Person();
|
||||
person.setName("John Stephaner Doe");
|
||||
person.setAge(18);
|
||||
|
||||
Reference in New Issue
Block a user