|
|
@ -380,9 +380,14 @@ class UsbPlayerTest { |
|
|
|
UsbPlayer up2 = new UsbPlayer(); |
|
|
|
up2.setPlayTrack("Musik 02.mp3"); |
|
|
|
|
|
|
|
//Third Case |
|
|
|
UsbPlayer up3 = new UsbPlayer(); |
|
|
|
up3.setPlayTrack("Musik 04.mp3"); |
|
|
|
|
|
|
|
return Stream.of( |
|
|
|
Arguments.of("It should change the current Song ", up1,"Musik 02.mp3"), |
|
|
|
Arguments.of("It should change the current Song if it is in the Albume", up2,"Musik 02.mp3") |
|
|
|
Arguments.of("It should change the current Song if it is in the Albume", up2,"Musik 02.mp3"), |
|
|
|
Arguments.of("Tried to change the Song,but the Song name does not exist in the Album(No change)", up3,"Musik 01.mp3") |
|
|
|
); |
|
|
|
} |
|
|
|
|