### Question:
CDPlayer implements MediaPlayer { public void play() { cd.play(); } @Autowired  CDPlayer(CompactDisc cd); void play();  }### Answer:
@Test public void play() { player.play(); }
@Test public void testPlay() { player.play(); assertEquals("Playing Hello by Adele.", log.getLog()); }