/** Tests {@link ControllerImpl#delete(<K>))}. */ @Test public void delete_id() { dao.delete(ID); EasyMock.replay(dao); controller.delete(ID); EasyMock.verify(dao); }
/** Tests {@link ControllerImpl#delete(<T>))}. */ @Test public void delete() { dao.delete(OBJECT); EasyMock.replay(dao); controller.delete(OBJECT); EasyMock.verify(dao); }