Node thebigvoidPackageNode = graph.getNode(thebigvoidPackage);
Node planetClassNode = graph.getNode(planetClass);
// Node planetConstructorNode = graph.getNode(planetContstructor);
Assert.assertEquals(thebigvoidPackageNode + " node should have 1 child nodes before adding the associations", 1, graph.getHierarchyManager().getChildren(thebigvoidPackageNode).size());
AbstractGraphEditCommand command = new AddEntitiesViaOutDependenciesCommand(
planetClassNode,
fGraphPanel.getGraphLoader(),
fGraphPanel.getEdgeGrouper(),
null);
command.execute();
org.evolizer.famix.model.entities.FamixClass stellarObjectClass = new org.evolizer.famix.model.entities.FamixClass("thebigvoid.StellarObject", null);
Assert.assertTrue("Graph must contain FAMIX entity " + stellarObjectClass.getUniqueName(), graph.contains(stellarObjectClass));
org.evolizer.famix.model.entities.FamixAttribute stellarObjectName = new org.evolizer.famix.model.entities.FamixAttribute("thebigvoid.StellarObject.name", null);
Assert.assertTrue("Graph must contain FAMIX entity " + stellarObjectName.getUniqueName(), graph.contains(stellarObjectName));