@Test
public void readBattery() throws IOException {

    Network network = BatteryNetworkFactory.create();
    StringToIntMapper<AmplSubset> mapper = AmplUtil.createMapper(network);
    ReadOnlyDataSource dataSource = new ResourceDataSource("battery-test",
            new ResourceSet("/outputs/", "battery-test_batteries.txt"));
    AmplNetworkReader reader = new AmplNetworkReader(dataSource, network, mapper);
    testBatteries(network, reader);
}