@Test
public void testIsRegulatingVoltage() {

    UcteNode node = createNode();
    node.setTypeCode(UcteNodeTypeCode.PQ);
    assertFalse(node.isRegulatingVoltage());
    node.setTypeCode(UcteNodeTypeCode.QT);
    assertFalse(node.isRegulatingVoltage());
    node.setTypeCode(UcteNodeTypeCode.PU);
    assertTrue(node.isRegulatingVoltage());
    node.setTypeCode(UcteNodeTypeCode.UT);
    assertTrue(node.isRegulatingVoltage());
}