@Test
public void detectTemporaryLimitOverloadOnSide2OfLine1() {

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