MCPcopy Index your code
hub / github.com/castello/spring_basic / delete

Method delete

ch4/CommentDaoImplTest.java:26–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

deleteAllMethod · 0.65
insertMethod · 0.65
countMethod · 0.65

Tested by

no test coverage detected