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 AddEntitiesViaInDependenciesCommand(
planetClassNode,
fGraphPanel.getGraphLoader(),
fGraphPanel.getEdgeGrouper(),
org.evolizer.famix.model.entities.FamixInvocation.class);
command.execute();
org.evolizer.famix.model.entities.FamixClass galaxyClass = new org.evolizer.famix.model.entities.FamixClass("thebigvoid.Galaxy", null);
Assert.assertTrue("Graph must contain FAMIX entity " + galaxyClass.getUniqueName(), graph.contains(galaxyClass));
org.evolizer.famix.model.entities.FamixMethod galaxyContstructor = new org.evolizer.famix.model.entities.FamixMethod("thebigvoid.Galaxy.<init>(java.lang.String)", null);
Assert.assertTrue("Graph must contain FAMIX entity " + galaxyContstructor.getUniqueName(), graph.contains(galaxyContstructor));