### Question:
Guestbook { @Get public void load() { entries = entryDao.readAll(); } Guestbook(EntryDao argEntryDao);  Guestbook(); List<Entry> getEntries(); @Get void load(); @Post String save(); Entry getNewEntry(); void setNewEntry(Entry argNewEntry); EntryDao getEntryDao(); void setEntryDao(EntryDao argEntryDao);  }### Answer:
@Test public void test_load() { expect(daoMock.readAll()).andReturn(new ArrayList<Entry>()); replay(daoMock); classUnderTest.load(); verify(daoMock); }