* Test method for {@link org.mantikhor.llapi.impl.TreeImpl#getSubgraph(org.mantikhor.llapi.ResourceNode)}.
*/
public void testGetSubgraph()
{
assertNotNull(this.treeI);
ResourceNode nodeA = (ResourceNode)getNode(TreeImplTest.NODES.A);
Graph graph1 = this.treeI.getSubgraph(nodeA);
assertNotNull(graph1);
TreeImpl tree1 = TreeImpl.valueByResourceNode((ResourceNode)graph1.getNamenode());
GraphInformation graphInformation1 = tree1.getGraphInformation();
assertTrue(graphInformation1.getBaseProperties().size() == 3);
assertTrue(graphInformation1.getBaseValNodes().size() == 4);
assertTrue(graphInformation1.getPropertyDefinitions().size() == 3);
assertTrue(graphInformation1.getPropertiesThatAreKhoronItems().size() == 3);
assertTrue(graphInformation1.getTerminatingBaseProperties().size() == 3);
assertTrue(graphInformation1.getValNodesThatAreBursts().size() == 4);
ResourceNode nodeF = (ResourceNode)getNode(TreeImplTest.NODES.F);
Graph graph2 = this.treeI.getSubgraph(nodeF);
assertNotNull(graph2);
TreeImpl treeIsubgraphFromF = TreeImpl.valueByResourceNode((ResourceNode)graph2.getNamenode());
GraphInformation graphInformation2 = treeIsubgraphFromF.getGraphInformation();