@Test
public void checkNetworkShunts() throws IOException {

    Network network = Mockito.mock(Network.class);
    Mockito.when(network.getId()).thenReturn("network");
    Mockito.when(network.getShuntCompensatorStream()).thenAnswer(dummy -> Stream.of(shunt));
    assertTrue(ShuntCompensatorsValidation.INSTANCE.checkShunts(network, strictConfig, data));
    assertTrue(ValidationType.SHUNTS.check(network, strictConfig, tmpDir));
    ValidationWriter validationWriter = ValidationUtils.createValidationWriter(network.getId(), strictConfig, NullWriter.NULL_WRITER, ValidationType.SHUNTS);
    assertTrue(ValidationType.SHUNTS.check(network, strictConfig, validationWriter));
}