@Test
 public void testListRelatedElementsByRelationship() {
   try {
     assertEquals(
         7, applicationElement.listRelatedElementsByRelationship(Relationship.ALL_REL).length);
     assertEquals(
         1, applicationElement.listRelatedElementsByRelationship(Relationship.FATHER).length);
     assertEquals(
         2, applicationElement.listRelatedElementsByRelationship(Relationship.CHILD).length);
     assertEquals(
         1, applicationElement.listRelatedElementsByRelationship(Relationship.INFO_REL).length);
     assertEquals(
         0, applicationElement.listRelatedElementsByRelationship(Relationship.INFO_FROM).length);
     assertEquals(
         3, applicationElement.listRelatedElementsByRelationship(Relationship.INFO_TO).length);
   } catch (AoException e) {
     fail(e.reason);
   }
 }