@Test public void testRemove() { int oldSize = questionDao.list().size(); Question question = questionDao.find(1); questionDao.delete(question); int newSize = questionDao.list().size(); assertFalse(oldSize != newSize); }