@Test
public void testStartedScan() {

    SimpleProgressCheck check = new SimpleProgressCheck();
    PackageId id0 = PackageId.fromString("my_packages:test_0:1.0");
    PackageId id1 = PackageId.fromString("my_packages:test_1:1.0");
    check.reportViolation(Severity.MINOR, "description", id0, id1);
    assertEquals("violation reported", 1, check.getReportedViolations().size());
    check.startedScan();
    assertTrue("violations are now empty", check.getReportedViolations().isEmpty());
}