|
|
@ -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<Arguments> getOptionsOptions() { |
|
|
|
RadioPlayer rp = new RadioPlayer(); |
|
|
|
|
|
|
|
|
|
|
|
return Stream.of( |
|
|
|
Arguments.of("returnValue of getOptions is not null", rp) |
|
|
|
|
|
|
|
); |
|
|
|
} |
|
|
|
} |