### Question:
GuestbookEntry { @Post public Guestbook delete(@Named("id") String argId) { load(argId); entryDao.delete(entry); return new Guestbook(entryDao); }  @Get void load(@Named("id") String argId); Entry getEntry(); @Post Guestbook delete(@Named("id") String argId); EntryDao getEntryDao(); void setEntryDao(EntryDao argEntryDao);  }### Answer:
@Test public void test_delete() { Entry entry = new Entry(); expect(daoMock.read(1)).andReturn(entry); daoMock.delete(entry); replay(daoMock); classUnderTest.delete("1"); verify(daoMock); }