### Question:
ViolationHandler { Collection<IntArrayPair> pollViolations() { return violations.poll(); }    }### Answer:
@Test public void testEmpty() { ViolationHandler violationHandler = new ViolationHandler(); assertThat(violationHandler.pollViolations()).isEmpty(); }