@Test
public void testRun() {

    Network network = EurostagTutorialExample1Factory.create();
    assertTrue(network.getGenerator("GEN").getTerminal().isConnected());
    ModificationTask task = new GeneratorTripping("GEN");
    Action action = new Action("action", Collections.singletonList(task));
    action.run(network, null);
    assertFalse(network.getGenerator("GEN").getTerminal().isConnected());
}