|
|
@ -194,11 +194,14 @@ class RadioPlayerTest { |
|
|
|
|
|
|
|
static Stream<Arguments> saveStationOptions() { |
|
|
|
RadioPlayer rp1 = new RadioPlayer(); |
|
|
|
RadioPlayer rp2 = new RadioPlayer(); |
|
|
|
rp1.changeRegion("BY"); |
|
|
|
rp1.saveStation(); |
|
|
|
rp2.saveStation(); |
|
|
|
|
|
|
|
return Stream.of( |
|
|
|
Arguments.of("Test for saving station in saved playlist", rp1, "Antenne Bayern") |
|
|
|
Arguments.of("Test for saving station in saved playlist", rp1, "Antenne Bayern"), |
|
|
|
Arguments.of("Test for not saving station which is already in saved playlist", rp2, "MegaHits") |
|
|
|
); |
|
|
|
} |
|
|
|
|