|
@ -185,9 +185,12 @@ class RadioPlayerTest { |
|
|
|
|
|
|
|
|
static Stream<Arguments> testPlayOptions() { |
|
|
static Stream<Arguments> testPlayOptions() { |
|
|
RadioPlayer rp1 = new RadioPlayer(); |
|
|
RadioPlayer rp1 = new RadioPlayer(); |
|
|
|
|
|
RadioPlayer rp2 = new RadioPlayer(); |
|
|
|
|
|
rp2.changeRegion("BY"); |
|
|
|
|
|
|
|
|
return Stream.of( |
|
|
return Stream.of( |
|
|
Arguments.of("Test for playing first station on saved playlist", rp1, "Radio is playing station: 01 YouFM") |
|
|
|
|
|
|
|
|
Arguments.of("Test for playing first station on saved playlist", rp1, "Radio is playing station: 01 YouFM from saved playlist"), |
|
|
|
|
|
Arguments.of("Test for playing first station on regional playlist", rp2, "Radio is playing station: 01 Antenne Bayern from regional playlist") |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|