@Test
public void detectHighestTemporaryLimitOverloadOnSide1OfLine2() {

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