@Test
public void testReportViolation() {

    SimpleProgressCheck check = new SimpleProgressCheck();
    SimpleViolation violation = new SimpleViolation(Severity.SEVERE, "description");
    check.reportViolation(violation);
    assertTrue("contains violation", check.getReportedViolations().contains(violation));
}