### Question:
LeafItem extends Item { @Override void clear () { throw new ExecutionException ("symbol is not a structure"); } LeafItem(String name, Item parent);   }### Answer:
@Test public void testClear () { try { new LeafItem (NAME, null).clear (); fail ("no exception"); } catch (ExecutionException ee) { } }