@Test
public void readHvdcLines() throws IOException {

    Network network = HvdcTestNetwork.createLcc();
    StringToIntMapper<AmplSubset> mapper = AmplUtil.createMapper(network);
    ReadOnlyDataSource dataSource = new ResourceDataSource("lcc-test",
            new ResourceSet("/outputs/",
                    "lcc-test_hvdc.txt",
                    "lcc-test_shunts.txt",
                    "lcc-test_lcc_converter_stations.txt"));
    AmplNetworkReader reader = new AmplNetworkReader(dataSource, network, mapper);
    testHvdc(network, reader);
    testShunts(network, reader);
    testLcc(network, reader);
    Network network2 = HvdcTestNetwork.createVsc();
    StringToIntMapper<AmplSubset> mapper2 = AmplUtil.createMapper(network2);
    ReadOnlyDataSource dataSource2 = new ResourceDataSource("vsc-test",
            new ResourceSet("/outputs/",
                    "vsc-test_vsc_converter_stations.txt"));
    AmplNetworkReader reader2 = new AmplNetworkReader(dataSource2, network2, mapper2);
    testVsc(network2, reader2);
}