### Question:
Alarm { public boolean isAlarmOn() { return alarmOn; }  void check(); boolean isAlarmOn();  }### Answer:
@Test public void foo() { Alarm alarm = new Alarm(); assertEquals(false, alarm.isAlarmOn()); }