@Test public void saveDoesNothing() throws ComponentLookupException { this.mocker.getComponentUnderTest().save(this.patient); this.mocker.getComponentUnderTest().save(null); Mockito.verifyZeroInteractions(this.service); }
@Override public void save(Patient patient) { save(patient, PatientWritePolicy.UPDATE); }
SpecificityController implements PatientDataController<Object>, Initializable { @Override public void save(Patient patient) { save(patient, PatientWritePolicy.UPDATE); } }
SpecificityController implements PatientDataController<Object>, Initializable { @Override public void save(Patient patient) { save(patient, PatientWritePolicy.UPDATE); }  }
SpecificityController implements PatientDataController<Object>, Initializable { @Override public void save(Patient patient) { save(patient, PatientWritePolicy.UPDATE); }  @Override void initialize(); @Override PatientData<Object> load(Patient patient); @Override void save(Patient patient); @Override void save(final Patient patient, final PatientWritePolicy policy); @Override void writeJSON(Patient patient, JSONObject json); @Override void writeJSON(Patient patient, JSONObject json, Collection<String> selectedFieldNames); @Override PatientData<Object> readJSON(JSONObject json); @Override String getName(); }
SpecificityController implements PatientDataController<Object>, Initializable { @Override public void save(Patient patient) { save(patient, PatientWritePolicy.UPDATE); }  @Override void initialize(); @Override PatientData<Object> load(Patient patient); @Override void save(Patient patient); @Override void save(final Patient patient, final PatientWritePolicy policy); @Override void writeJSON(Patient patient, JSONObject json); @Override void writeJSON(Patient patient, JSONObject json, Collection<String> selectedFieldNames); @Override PatientData<Object> readJSON(JSONObject json); @Override String getName();  }