This is more of an issue than a bug as the tests run fine. In ElonsToyCar.java
the initial exception message says to implement a static method for the drive method but the tests show it being used as an instance method.
ElonsToyCar.java
public void drive() {
throw new UnsupportedOperationException("Please implement the (static) RemoteControlCar.drive() method");
ElonsToyCarTest.java
@Test
public void distance_display_after_driving_once() {
ElonsToyCar car = new ElonsToyCar();
car.drive();
assertThat(car.distanceDisplay()).isEqualTo("Driven 20 meters");
}
}