diff options
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(); + } + } |
