diff options
| author | Paul-Christian Volkmer | 2023-03-25 22:54:46 +0100 |
|---|---|---|
| committer | Paul-Christian Volkmer | 2023-03-25 22:54:46 +0100 |
| commit | 9e56a52ac8b0a6a0d3338dc883b93c3d670bd39c (patch) | |
| tree | a78fa2af6721ab2e41e5b86b036fb8f2e09fd464 /src/test/java | |
| parent | 734905485b8ecfaea18d874f03a5b57faf26569f (diff) | |
Prüfung ob ProzedurID übergeben wurde hinzugefügt
Diffstat (limited to 'src/test/java')
| -rw-r--r-- | src/test/java/DNPM/DNPMHelperTest.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/test/java/DNPM/DNPMHelperTest.java b/src/test/java/DNPM/DNPMHelperTest.java index f9a03fb..41a80d6 100644 --- a/src/test/java/DNPM/DNPMHelperTest.java +++ b/src/test/java/DNPM/DNPMHelperTest.java @@ -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(); + } + } |
