1
0
mirror of https://github.com/pcvolkmer/onkostar-plugin-dnpm.git synced 2025-07-04 10:02:55 +00:00

Prüfung ob ProzedurID übergeben wurde hinzugefügt

This commit is contained in:
2023-03-25 22:54:46 +01:00
parent 734905485b
commit 9e56a52ac8
3 changed files with 32 additions and 24 deletions

View File

@ -17,7 +17,7 @@ import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
@ExtendWith(MockitoExtension.class)
public class DNPMHelperTest {
class DNPMHelperTest {
private SystemtherapieService systemtherapieService;
@ -42,10 +42,17 @@ public class DNPMHelperTest {
}
@Test
void testShouldReturnNullIfNoDiagnoseId() {
void testShouldReturnNullIfNoDiagnoseIdCallingGetSystemischeTherapienFromDiagnose() {
var actual = dnpmHelper.getSystemischeTherapienFromDiagnose(new HashMap<>());
assertThat(actual).isNull();
}
@Test
void testShouldReturnNullIfNoProcedureIdCallingGetEmpfehlung() {
var actual = dnpmHelper.getEmpfehlung(new HashMap<>());
assertThat(actual).isNull();
}
}