@Test
public void testConnectVoltageRegulatorOnWithoutAlreadyConnectedGenerators() {

    g3.getTerminal().disconnect();
    g2.setVoltageRegulatorOn(true);
    GeneratorUtil.connectGenerator(g2);
    assertTrue(g2.getTerminal().isConnected());
    assertEquals(99., g2.getTargetV(), 0.01);
}