/** Tests {@link ControllerImpl#refresh(Object)}. */ @Test public void refresh() { EasyMock.expect(dao.refresh(OBJECT)).andReturn(OTHER_OBJECT); EasyMock.replay(dao); assert OTHER_OBJECT == controller.refresh(OBJECT); EasyMock.verify(dao); }