@Test public void testGetChild () { try { new LeafItem (NAME, null).getChild ("anything"); fail ("no exception"); } catch (ExecutionException ee) { } }
@Override Item getChild (String name) { throw new ExecutionException ("leaf item has no children"); }
LeafItem extends Item { @Override Item getChild (String name) { throw new ExecutionException ("leaf item has no children"); } }
LeafItem extends Item { @Override Item getChild (String name) { throw new ExecutionException ("leaf item has no children"); } LeafItem(String name, Item parent); }
LeafItem extends Item { @Override Item getChild (String name) { throw new ExecutionException ("leaf item has no children"); } LeafItem(String name, Item parent);  }
LeafItem extends Item { @Override Item getChild (String name) { throw new ExecutionException ("leaf item has no children"); } LeafItem(String name, Item parent);   }