@Test void shouldCreateWithNullViolations2(){ final ConstraintViolationProblem problem = new ConstraintViolationProblem(Problem.DEFAULT_TYPE, BAD_REQUEST, null); assertThat(problem.getViolations(), notNullValue()); }
public List<Violation> getViolations() { return violations; }
ConstraintViolationProblem extends ThrowableProblem { public List<Violation> getViolations() { return violations; } }
ConstraintViolationProblem extends ThrowableProblem { public List<Violation> getViolations() { return violations; } ConstraintViolationProblem(final StatusType status, final List<Violation> violations);  ConstraintViolationProblem(final URI type, final StatusType status, final List<Violation> violations); }
ConstraintViolationProblem extends ThrowableProblem { public List<Violation> getViolations() { return violations; } ConstraintViolationProblem(final StatusType status, final List<Violation> violations);  ConstraintViolationProblem(final URI type, final StatusType status, final List<Violation> violations); @Override URI getType(); @Override String getTitle(); @Override StatusType getStatus(); List<Violation> getViolations(); }
ConstraintViolationProblem extends ThrowableProblem { public List<Violation> getViolations() { return violations; } ConstraintViolationProblem(final StatusType status, final List<Violation> violations);  ConstraintViolationProblem(final URI type, final StatusType status, final List<Violation> violations); @Override URI getType(); @Override String getTitle(); @Override StatusType getStatus(); List<Violation> getViolations(); static final String TYPE_VALUE; static final URI TYPE; }