@ -0,0 +1,49 @@
package device;
public class UsbPlayer implements Device{
@Override
public void louder() {
}
public void quiter() {
public int getVolume() {
return 0;
public void next() {
public void prev() {
public String getInfoText() {
return null;
public String[] getOptions() {
return new String[0];
public void chooseOption(String opt) {
public String play() {
@ -0,0 +1,44 @@
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class UsbPlayerTest {
@Test
void louder() {
void quiter() {
void getVolume() {
void next() {
void prev() {
void getInfoText() {
void getOptions() {
void chooseOption() {
void play() {