### Question:
Start extends NodeBase { @Override public void clearParents() { } Start(final String name); NodeBase getChild(); @Override void addParent(final NodeBase parent); @Override void addParentWithCondition(final Decision parent, final Condition condition); @Override void addParentDefaultConditional(Decision parent); @Override void removeParent(NodeBase parent); @Override void clearParents(); @Override List<NodeBase> getChildren();  }### Answer:
@Test public void testClearExistingParent() { new Start("parent"); final Start instance = getInstance("instance"); instance.clearParents(); }
@Test public void testClearNonExistentParent() { new Start("parent"); final Start instance = getInstance("instance"); instance.clearParents(); }