1
0
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:
2023-09-25 13:53:09 +02:00
parent 8c35642283
commit 4949bfcc64
7 changed files with 10 additions and 10 deletions

View File

@ -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);
}

View File

@ -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);

View File

@ -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()