### Question:
MutableChildIterator implements Iterator<N> { @Override public void remove() { node.removeChild(currentChild); } MutableChildIterator(N node, Iterator<? extends N> iterator); @Override boolean hasNext(); @Override N next(); @Override void remove();  }### Answer:
@Test public void remove() { final MutableChildIterator<String, MutableNode<String>> mutableIterator = new MutableChildIterator<>(parent, iterator); mutableIterator.next(); mutableIterator.remove(); verify(parent).removeChild(child); }