Skip to content
Snippets Groups Projects
Commit 0aa6eb66 authored by Stefan Herrnleben's avatar Stefan Herrnleben
Browse files

compare ids of a cloned node in junit test for adaptation points

parent 61ca04a1
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,9 @@ public class ParserTest { ...@@ -64,6 +64,9 @@ public class ParserTest {
Assert.assertNotEquals(adaptationPoints1, adaptationPoints2); Assert.assertNotEquals(adaptationPoints1, adaptationPoints2);
Assert.assertEquals(adaptationPoints1.getNetworkInfrastructure().getStructure().getNodes().size(), Assert.assertEquals(adaptationPoints1.getNetworkInfrastructure().getStructure().getNodes().size(),
adaptationPoints2.getNetworkInfrastructure().getStructure().getNodes().size()); adaptationPoints2.getNetworkInfrastructure().getStructure().getNodes().size());
Assert.assertEquals(
adaptationPoints1.getNetworkInfrastructure().getStructure().getNodes().get(0).getUid_generated(),
adaptationPoints2.getNetworkInfrastructure().getStructure().getNodes().get(0).getUid_generated());
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment