@Test public void lightListIsNotNull() { List<Light> lights = model.lights(); assertNotNull("Light list should not be null", lights); }
public List<Light> lights() { return lights; }
GaugeButtonModel extends DefaultButtonModel { public List<Light> lights() { return lights; } }
GaugeButtonModel extends DefaultButtonModel { public List<Light> lights() { return lights; } GaugeButtonModel(int numberOfLights); }
GaugeButtonModel extends DefaultButtonModel { public List<Light> lights() { return lights; } GaugeButtonModel(int numberOfLights); List<Light> lights(); void turnNextLightOn(); boolean areAllLightsOn(); void turnAllLightsOff(); }
GaugeButtonModel extends DefaultButtonModel { public List<Light> lights() { return lights; } GaugeButtonModel(int numberOfLights); List<Light> lights(); void turnNextLightOn(); boolean areAllLightsOn(); void turnAllLightsOff();  }