|
@ -255,9 +255,13 @@ class RadioPlayerTest { |
|
|
static Stream<Arguments> changeToSavedPlaylistOptions() { |
|
|
static Stream<Arguments> changeToSavedPlaylistOptions() { |
|
|
RadioPlayer rp = new RadioPlayer(); |
|
|
RadioPlayer rp = new RadioPlayer(); |
|
|
rp.changeToSavedPlaylist(); |
|
|
rp.changeToSavedPlaylist(); |
|
|
|
|
|
RadioPlayer rp1 = new RadioPlayer(); |
|
|
|
|
|
rp1.changeRegion("BY"); |
|
|
|
|
|
rp1.changeToSavedPlaylist(); |
|
|
|
|
|
|
|
|
return Stream.of( |
|
|
return Stream.of( |
|
|
Arguments.of("Test for change to saved playlist when you already in saved playlist", rp, "YouFM") |
|
|
|
|
|
|
|
|
Arguments.of("Test for change to saved playlist when you already in saved playlist", rp, "YouFM"), |
|
|
|
|
|
Arguments.of("Test for change to saved playlist when in regional playlist", rp1, "YouFM") |
|
|
|
|
|
|
|
|
); |
|
|
); |
|
|
} |
|
|
} |