diff --git a/src/test/java/device/radioPlayer/RadioPlayerTest.java b/src/test/java/device/radioPlayer/RadioPlayerTest.java index 7e2f5d0..b7cae0c 100644 --- a/src/test/java/device/radioPlayer/RadioPlayerTest.java +++ b/src/test/java/device/radioPlayer/RadioPlayerTest.java @@ -367,7 +367,7 @@ class RadioPlayerTest { ); } @Test - void TestUnmute() { + void testUnmute() { RadioPlayer rp = new RadioPlayer(); rp.setLautstaerke(40); rp.mute(); @@ -418,4 +418,20 @@ class RadioPlayerTest { Arguments.of("Test for getInfoText not contains station info if station not has one", "noStationInfo", rp7, false) ); } + @ParameterizedTest + @MethodSource("getOptionsOptions") + void testGetOptions(String testName, RadioPlayer testRp) { + + assertThat(testRp.getOptions()).describedAs(testName).isNotEqualTo(null); + } + + static Stream getOptionsOptions() { + RadioPlayer rp = new RadioPlayer(); + + + return Stream.of( + Arguments.of("returnValue of getOptions is not null", rp) + + ); + } } \ No newline at end of file