@Test
public void checkNetworkTwts() throws IOException {

    Network network = Mockito.mock(Network.class);
    Mockito.when(network.getId()).thenReturn("network");
    Mockito.when(network.getThreeWindingsTransformerStream()).thenAnswer(dummy -> Stream.of(twtValidationData.get3WTransformer()));
    assertFalse(Transformers3WValidation.INSTANCE.checkTransformers(network, strictConfig, data));
    assertFalse(ValidationType.TWTS3W.check(network, strictConfig, tmpDir));
    ValidationWriter validationWriter = ValidationUtils.createValidationWriter(network.getId(), strictConfig, NullWriter.NULL_WRITER, ValidationType.TWTS);
    assertFalse(ValidationType.TWTS3W.check(network, strictConfig, validationWriter));
    strictConfig.setThreshold(.3);
    assertTrue(Transformers3WValidation.INSTANCE.checkTransformers(network, strictConfig, NullWriter.NULL_WRITER));
}