|
|
@ -277,9 +277,12 @@ class RadioPlayerTest { |
|
|
|
RadioPlayer rp = new RadioPlayer(); |
|
|
|
rp.next(); |
|
|
|
rp.changeOrderInSavedPlaylist(1); |
|
|
|
RadioPlayer rp1 = new RadioPlayer(); |
|
|
|
rp1.changeOrderInSavedPlaylist(5); |
|
|
|
|
|
|
|
return Stream.of( |
|
|
|
Arguments.of("Test for change order in saved playlist with nr isn`t than playlist size", rp, 0, "Teddy") |
|
|
|
Arguments.of("Test for change order in saved playlist with nr isn`t bigger than playlist size", rp, 0, "Teddy"), |
|
|
|
Arguments.of("Test for change order in saved playlist with nr is than bigger playlist size but at the end of playlist", rp1, 2, "YouFM") |
|
|
|
); |
|
|
|
} |
|
|
|
} |