public Set<ConstraintViolation<?>> getConstraintViolations() {
        return constraintViolations;
    }
@Test
    void retainsTheSetOfExceptions() {
        assertThat(e.getConstraintViolations())
                .isNotEmpty();
    }