@Test
public void testDefaultSeverity() throws Exception {

    TestUtil.testBlock(() -> {
        ProgressCheck check = new Paths().newInstance(key("rules", arr(denyEtc)).get());
        CheckReport report = scanWithCheck(check, "test-package-with-etc.zip");
        logViolations("level_set:no_unsafe", report);
        Assert.assertEquals("violations", 6, report.getViolations().size());
        assertTrue("all violations are MAJOR", report.getViolations().stream()
                .allMatch(viol -> viol.getSeverity().equals(Severity.MAJOR)));
    });
}