File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
validation/methods/src/test/java/org/javaee7/validation/methods Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ public void constructorViolationsWhenNullParameters() throws NoSuchMethodExcepti
5151 Set <ConstraintViolation <MyBean2 >> constraints = methodValidator
5252 .validateConstructorParameters (constructor , new Object [] {parameter });
5353
54- ConstraintViolation <MyBean2 > violarion = constraints .iterator ().next ();
54+ ConstraintViolation <MyBean2 > violation = constraints .iterator ().next ();
5555 assertThat (constraints .size (), equalTo (1 ));
56- assertThat (violarion .getMessageTemplate (), equalTo ("{javax.validation.constraints.NotNull.message}" ));
57- assertThat (violarion .getPropertyPath ().toString (), equalTo ("MyBean2.arg0.value" ));
56+ assertThat (violation .getMessageTemplate (), equalTo ("{javax.validation.constraints.NotNull.message}" ));
57+ assertThat (violation .getPropertyPath ().toString (), equalTo ("MyBean2.arg0.value" ));
5858 }
5959
6060 @ Test
You can’t perform that action at this time.
0 commit comments