assertEquals("Test getChild(CompositeName)", tmp, sc.getChild(name));
assertEquals("1. Test getChild(CompositeName)", tmp, sc.getChild(name)); assertNull("2. Test getChild(CompositeName)", sc.getChild(failed));
  public void testgetChild() {    SimpleName name = new SimpleName("ChildName");    SimpleComponent tmp = new SimpleComponent("ChildName");    sc.addChild(tmp);    assertEquals("Test getChild(int)", tmp, sc.getChild(0));     assertEquals("Test getChild(CompositeName)", tmp, sc.getChild(name));  }