@Test
public void detectPermanentLimitOverloadOnSide2OfLine1() {

    detector.checkCurrent(line1, Branch.Side.TWO, 1101, violationsCollector::add);
    Assertions.assertThat(violationsCollector)
            .hasSize(1)
            .allSatisfy(l -> {
                assertEquals(1100, l.getLimit(), 0d);
                assertEquals(1101, l.getValue(), 0d);
                assertSame(Branch.Side.TWO, l.getSide());
                assertEquals(600, l.getAcceptableDuration());
            });
}