Пример #1
0
 private void anticipateRegisterLocationMonitor() {
   setRegistered();
   expect(m_backEnd.registerLocationMonitor("OAK")).andReturn(getRegisteredId());
   m_settings.setMonitorId(getRegisteredId());
 }
Пример #2
0
 private void anticipateGetMonitorId() {
   expect(m_settings.getMonitorId()).andReturn(getRegisteredId());
 }