@Test
public void testFilterInjections() {

    Generator generator1 = network.getGenerator("g1");
    List<Injection> generators = g1.filterInjections(network);
    assertEquals(1, generators.size());
    assertSame(generator1, generators.get(0));
}