*/
public void testGetParents()
{
assertNotNull(this.treeI);
BaseProperty propD = this.getProperty(TreeImplTest.PROPERTIES.D);
List<BaseProperty> parentsD = this.treeI.getParents(propD);
assertTrue(parentsD.size() == 1);
BaseProperty parentDFromTree = parentsD.get(0);
BaseProperty E = this.getProperty(TreeImplTest.PROPERTIES.E);
List<BaseProperty> parentsE = this.treeI.getParents(E);
assertTrue(parentsE.size() == 1);
BaseProperty parentEFromTree = parentsE.get(0);
BaseProperty F = this.getProperty(TreeImplTest.PROPERTIES.F);
List<BaseProperty> parentsF = this.treeI.getParents(F);
assertTrue(parentsF.size() == 1);
BaseProperty parentFFromTree = parentsF.get(0);
BaseProperty G = this.getProperty(TreeImplTest.PROPERTIES.G);
List<BaseProperty> parentsG = this.treeI.getParents(G);
assertTrue(parentsG.size() == 1);
BaseProperty parentGFromTree = parentsG.get(0);
BaseProperty H = this.getProperty(TreeImplTest.PROPERTIES.H);
List<BaseProperty> parentsH = this.treeI.getParents(H);
assertTrue(parentsH.size() == 1);
BaseProperty parentHFromTree = parentsH.get(0);
BaseProperty I = this.getProperty(TreeImplTest.PROPERTIES.I);
List<BaseProperty> parentsI = this.treeI.getParents(I);
assertTrue(parentsI.size() == 1);
BaseProperty parentIFromTree = parentsI.get(0);
BaseProperty J = this.getProperty(TreeImplTest.PROPERTIES.J);
List<BaseProperty> parentsJ = this.treeI.getParents(J);
assertTrue(parentsJ.size() == 1);
BaseProperty parentJFromTree = parentsJ.get(0);
BaseProperty propK = this.getProperty(TreeImplTest.PROPERTIES.K);
List<BaseProperty> parentsK = this.treeI.getParents(propK);
assertTrue(parentsK.size() == 1);
BaseProperty parentKFromTree = parentsK.get(0);
BaseProperty propL = this.getProperty(TreeImplTest.PROPERTIES.L);
List<BaseProperty> parentsL = this.treeI.getParents(propL);
assertTrue(parentsL.size() == 1);
BaseProperty parentLFromTree = parentsL.get(0);
BaseProperty A = this.getProperty(TreeImplTest.PROPERTIES.A);
BaseProperty B = this.getProperty(TreeImplTest.PROPERTIES.B);
BaseProperty C = this.getProperty(TreeImplTest.PROPERTIES.C);
List<BaseProperty> parentsA = this.treeI.getParents(A);
List<BaseProperty> parentsB = this.treeI.getParents(B);
List<BaseProperty> parentsC = this.treeI.getParents(C);
assertTrue(parentsA.size()==0);
assertTrue(parentsB.size()==0);
assertTrue(parentsC.size()==0);
assertTrue(A.equals(parentDFromTree));
assertTrue(A.equals(parentEFromTree));
assertTrue(A.equals(parentFFromTree));
assertTrue(B.equals(parentGFromTree));
assertTrue(B.equals(parentHFromTree));
assertTrue(B.equals(parentIFromTree));
assertTrue(C.equals(parentJFromTree));
assertTrue(C.equals(parentKFromTree));
assertTrue(C.equals(parentLFromTree));
}