### Question:
SequenceItem extends Item { @Override void clear () { mChildren.clear (); } SequenceItem(String name, Item parent);   }### Answer:
@Test public void testClear () { SequenceItem sequence = new SequenceItem (SEQUENCE_NAME, null); sequence.createLeaf (new String[] { LEAF_NAME }, 0); assertNotNull (sequence.getChild (LEAF_NAME)); sequence.clear(); try { sequence.getChild (LEAF_NAME); fail ("no exception"); } catch (ExecutionException ee) { } }