@Test
public void xnodeMergingIssueTest() {

    ReadOnlyDataSource dataSource = new ResourceDataSource("mergedXnodeIssue", new ResourceSet("/", "mergedXnodeIssue.uct"));
    Network network = new UcteImporter().importData(dataSource, null);
    assertEquals(2, network.getVoltageLevelCount());
    assertEquals(1, network.getDanglingLineCount());
    assertEquals(1, network.getLineCount());
    Line l = network.getLineStream().findFirst().orElseThrow(AssertionError::new);
    assertEquals("ESNODE11 XXNODE11 1 + FRNODE11 XXNODE11 1", l.getId());
    MergedXnode mergedXnode = l.getExtension(MergedXnode.class);
    assertNotNull(mergedXnode);
    assertNotNull(l.getCurrentLimits1());
    assertNotNull(l.getCurrentLimits2());
}