@Test public void testEnable() { control.setEnabled(true); verify(containmentControl, times(1)).setEnabled(eq(true)); control.setEnabled(false); verify(containmentControl, times(1)).setEnabled(eq(false)); }
@Override public WiresContainmentControl setEnabled(boolean enabled) { containmentControl.setEnabled(enabled); return this; }
CaseManagementContainmentControl implements WiresContainmentControl { @Override public WiresContainmentControl setEnabled(boolean enabled) { containmentControl.setEnabled(enabled); return this; } }
CaseManagementContainmentControl implements WiresContainmentControl { @Override public WiresContainmentControl setEnabled(boolean enabled) { containmentControl.setEnabled(enabled); return this; } CaseManagementContainmentControl(final WiresParentPickerControl parentPickerControl,
                                            final CaseManagementContainmentStateHolder state);   CaseManagementContainmentControl(final WiresContainmentControlImpl containmentControl,
                                     final CaseManagementContainmentStateHolder state); }
CaseManagementContainmentControl implements WiresContainmentControl { @Override public WiresContainmentControl setEnabled(boolean enabled) { containmentControl.setEnabled(enabled); return this; } 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(); }
CaseManagementContainmentControl implements WiresContainmentControl { @Override public WiresContainmentControl setEnabled(boolean enabled) { containmentControl.setEnabled(enabled); return this; } 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();  }