### Question:
CaseManagementContainmentControl implements WiresContainmentControl { @Override public void reset() { state.getGhost().ifPresent(this::restore); clearState(); } CaseManagementContainmentControl(final WiresParentPickerControl parentPickerControl,
                                            final CaseManagementContainmentStateHolder state);   CaseManagementContainmentControl(final WiresContainmentControlImpl containmentControl,
                                     final CaseManagementContainmentStateHolder state); @Override WiresContainmentControl setEnabled(boolean enabled); @Override void onMoveStart(double x, double y); @Override boolean onMove(double dx,
                          double dy); @Override void onMoveComplete(); @Override boolean isAllow(); @Override boolean accept(); @Override Point2D getCandidateLocation(); @Override Point2D getAdjust(); @Override void execute(); @Override void clear(); @Override void reset(); @Override void destroy();  }### Answer:
@Test public void testReset() { control.reset(); verify(ghost, times(1)).removeFromParent(); verify(parent, times(1)).addShape(eq(shape), eq(0)); verify(state, times(1)).setGhost(Optional.empty()); verify(state, times(1)).setOriginalParent(Optional.empty()); verify(state, times(1)).setOriginalIndex(OptionalInt.empty()); }