@Test public void saveDoesNothingWhenPatientDataIsNullAndPolicyIsUpdate() { when(this.patient.getData(this.component.getName())).thenReturn(null); this.component.save(this.patient, PatientWritePolicy.UPDATE); verify(this.doc, times(1)).getXObject(Patient.CLASS_REFERENCE, true, this.context); verifyNoMoreInteractions(this.doc); verifyZeroInteractions(this.dataHolder); }
@Override public String getName() { return "prenatalPerinatalHistory"; }
PrenatalPerinatalHistoryController extends AbstractComplexController<String> { @Override public String getName() { return "prenatalPerinatalHistory"; } }
PrenatalPerinatalHistoryController extends AbstractComplexController<String> { @Override public String getName() { return "prenatalPerinatalHistory"; }  }
PrenatalPerinatalHistoryController extends AbstractComplexController<String> { @Override public String getName() { return "prenatalPerinatalHistory"; }  @Override String getName(); }
PrenatalPerinatalHistoryController extends AbstractComplexController<String> { @Override public String getName() { return "prenatalPerinatalHistory"; }  @Override String getName();  }