()
| 24 | } |
| 25 | |
| 26 | @Test |
| 27 | public void delete() throws Exception { |
| 28 | commentDao.deleteAll(1); |
| 29 | CommentDto commentDto = new CommentDto(1, 0, "comment", "asdf"); |
| 30 | assertTrue(commentDao.insert(commentDto)==1); |
| 31 | assertTrue(commentDao.count(1)==1); |
| 32 | } |
| 33 | |
| 34 | @Test |
| 35 | public void insert() throws Exception { |