### Question:
BlinkStickTrafficLightImpl extends AbstractTrafficLight<String> { @Override public void switchOn(Color color) { blinkStick.setColor(map(color)); } BlinkStickTrafficLightImpl(BlinkStick blinkStick); @Override void switchOn(Color color); @Override void switchOff(Color color); @Override void close();  }### Answer:
@Test public void testSwitchOn() throws Exception { light.switchOnAllLeds(); verify(blinkStick, times(1)).setColor("red"); verify(blinkStick, times(1)).setColor("yellow"); verify(blinkStick, times(1)).setColor("green"); }