mirror of
https://github.com/pcvolkmer/onkostar-plugin-dnpm.git
synced 2025-07-04 10:02:55 +00:00
Anpassung Methoden- und Parameternamen
This commit is contained in:
@ -39,11 +39,11 @@ public class TherapieplanAnalyzerTest {
|
||||
|
||||
@Test
|
||||
void shouldRunServiceMethodsOnAnalyzeCalled() {
|
||||
when(this.therapieplanServiceFactory.currentUsableinstance()).thenReturn(new MultipleMtbTherapieplanService());
|
||||
when(this.therapieplanServiceFactory.currentUsableInstance()).thenReturn(new MultipleMtbTherapieplanService());
|
||||
|
||||
this.therapieplanAnalyzer.analyze(new Procedure(onkostarApi), null);
|
||||
|
||||
verify(this.therapieplanServiceFactory, times(1)).currentUsableinstance();
|
||||
verify(this.therapieplanServiceFactory, times(1)).currentUsableInstance();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -42,7 +42,7 @@ public class TherapieplanServiceFactoryTest {
|
||||
return null;
|
||||
}).when(onkostarApi).getGlobalSetting(anyString());
|
||||
|
||||
var actual = this.therapieplanServiceFactory.currentUsableinstance();
|
||||
var actual = this.therapieplanServiceFactory.currentUsableInstance();
|
||||
|
||||
assertThat(actual).isInstanceOf(DefaultTherapieplanService.class);
|
||||
}
|
||||
@ -51,7 +51,7 @@ public class TherapieplanServiceFactoryTest {
|
||||
void testShouldReturnDefaultTherapieplanServiceIfNoSetting() {
|
||||
when(onkostarApi.getGlobalSetting(anyString())).thenReturn(null);
|
||||
|
||||
var actual = this.therapieplanServiceFactory.currentUsableinstance();
|
||||
var actual = this.therapieplanServiceFactory.currentUsableInstance();
|
||||
|
||||
assertThat(actual).isInstanceOf(DefaultTherapieplanService.class);
|
||||
}
|
||||
@ -66,7 +66,7 @@ public class TherapieplanServiceFactoryTest {
|
||||
return null;
|
||||
}).when(onkostarApi).getGlobalSetting(anyString());
|
||||
|
||||
var actual = this.therapieplanServiceFactory.currentUsableinstance();
|
||||
var actual = this.therapieplanServiceFactory.currentUsableInstance();
|
||||
|
||||
assertThat(actual).isInstanceOf(MultipleMtbTherapieplanService.class);
|
||||
}
|
||||
|
Reference in New Issue
Block a user