@Test public void CheckClinicianDeletedUndoTest() { DeleteClinicianAction action = new DeleteClinicianAction(baseClinician, manager); invoker.execute(action); invoker.undo(); assertEquals(2, manager.getClinicians().size()); }
@Override protected void execute() { super.execute(); manager.removeClinician(clinician); }
DeleteClinicianAction extends ClinicianAction { @Override protected void execute() { super.execute(); manager.removeClinician(clinician); } }
DeleteClinicianAction extends ClinicianAction { @Override protected void execute() { super.execute(); manager.removeClinician(clinician); } DeleteClinicianAction(Clinician clinician, ClinicianManager manager); }
DeleteClinicianAction extends ClinicianAction { @Override protected void execute() { super.execute(); manager.removeClinician(clinician); } DeleteClinicianAction(Clinician clinician, ClinicianManager manager); @Override String getExecuteText(); @Override String getUnexecuteText(); }
DeleteClinicianAction extends ClinicianAction { @Override protected void execute() { super.execute(); manager.removeClinician(clinician); } DeleteClinicianAction(Clinician clinician, ClinicianManager manager); @Override String getExecuteText(); @Override String getUnexecuteText();  }