mirror of
https://github.com/pcvolkmer/onkostar-plugin-dnpm.git
synced 2025-07-03 17:52:53 +00:00
Fix typo in method name
This commit is contained in:
@ -270,7 +270,7 @@ class DNPMHelperTest {
|
||||
dnpmHelper.getEcogStatus(Map.of("PatientId", 42));
|
||||
|
||||
var argumentCaptor = ArgumentCaptor.forClass(Patient.class);
|
||||
verify(systemtherapieService, times(1)).ecogSatus(argumentCaptor.capture());
|
||||
verify(systemtherapieService, times(1)).ecogStatus(argumentCaptor.capture());
|
||||
assertThat(argumentCaptor.getValue()).isNotNull();
|
||||
assertThat(argumentCaptor.getValue().getId()).isEqualTo(42);
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ class SystemtherapieAnalyzerTest {
|
||||
final var procedureDate = daysPassed(1);
|
||||
|
||||
doAnswer(invocationOnMock -> List.of(new SystemtherapieService.EcogStatusWithDate(ecogDate, "0")))
|
||||
.when(systemtherapieService).ecogSatus(any(Patient.class));
|
||||
.when(systemtherapieService).ecogStatus(any(Patient.class));
|
||||
|
||||
var patient = new Patient(onkostarApi);
|
||||
patient.setId(1);
|
||||
@ -89,7 +89,7 @@ class SystemtherapieAnalyzerTest {
|
||||
final var procedureDate = daysPassed(1);
|
||||
|
||||
doAnswer(invocationOnMock -> List.of())
|
||||
.when(systemtherapieService).ecogSatus(any(Patient.class));
|
||||
.when(systemtherapieService).ecogStatus(any(Patient.class));
|
||||
|
||||
var patient = new Patient(onkostarApi);
|
||||
patient.setId(1);
|
||||
@ -115,7 +115,7 @@ class SystemtherapieAnalyzerTest {
|
||||
final var procedureDate = daysPassed(1);
|
||||
|
||||
doAnswer(invocationOnMock -> List.of(new SystemtherapieService.EcogStatusWithDate(ecogDate, "0")))
|
||||
.when(systemtherapieService).ecogSatus(any(Patient.class));
|
||||
.when(systemtherapieService).ecogStatus(any(Patient.class));
|
||||
|
||||
var patient = new Patient(onkostarApi);
|
||||
patient.setId(1);
|
||||
|
@ -123,7 +123,7 @@ class DefaultSystemtherapieServiceTest {
|
||||
var patient = new Patient(onkostarApi);
|
||||
patient.setId(1);
|
||||
|
||||
var actual = service.ecogSatus(patient);
|
||||
var actual = service.ecogStatus(patient);
|
||||
|
||||
assertThat(actual)
|
||||
.isNotNull()
|
||||
|
Reference in New Issue
Block a user