@Test
public void testHvdcFailure() {

    thrown.expect(UnsupportedOperationException.class);
    thrown.expectMessage("Reduction of HVDC lines is not supported");
    Network network = HvdcTestNetwork.createLcc();
    NetworkReducer reducer = NetworkReducer.builder()
                .withNetworkPredicate(IdentifierNetworkPredicate.of("VL1"))
                .withReductionOptions(new ReductionOptions())
                .build();
    reducer.reduce(network);
}