### Question:
SpeedDetectorImpl extends SpeedDetector { @Override public String detect(final List<? extends AbstractCarImage> images) { return detectSpeed(images).toString(); } private  SpeedDetectorImpl(); static SpeedDetectorImpl getInstance(); @Override String detect(final List<? extends AbstractCarImage> images); @Override Double detectSpeed(final List<? extends AbstractCarImage> images);  }### Answer:
@Test public void testDetect() { assertEquals(detector.detect(images), detector.detectSpeed(images).toString()); assertEquals(Double.valueOf(detector.detect(images)), detector.detectSpeed(images)); }