@Test
  public void testListAllRelatedElements() {
    try {
      // dts
      assertEquals(7, applicationElement.listAllRelatedElements().length);

      // audifahrzeug
      ApplicationElement aeFzg =
          aoSession.getApplicationStructure().getElementByName("audifahrzeug");
      assertEquals(8, aeFzg.listAllRelatedElements().length);
    } catch (AoException e) {
      fail(e.reason);
    }
  }