Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void correctExample() {
- assertThat(ConstraintViolations.format(validator.validate(new CorrectExample()))).isEmpty();
- assertThat(TestLoggerFactory.getAllLoggingEvents()).isEmpty();
- }
- @Test
- public void correctExampleTest() {
- this.correctExample();
- }
- @Test
- public void multipleTestingOfSameClass() {
- assertThat(ConstraintViolations.format(validator.validate(new CorrectExample()))).isEmpty();
- this.correctExample();
- }
Advertisement
Add Comment
Please, Sign In to add comment