@Test
public void test_deleteWith_many() {
dao.create(Ask.class, true);
dao.create(AskReply.class, true);
Ask ask = new Ask();
ask.setTemptitle("ABC");
ask.setTitle("ABC");
List<AskReply> askReplies = new ArrayList<AskReply>();
askReplies.add(new AskReply(ask.getAskId()));
askReplies.add(new AskReply(ask.getAskId()));
ask.setReplys(askReplies);
dao.insertWith(ask, "replys");
ask.setReplys(null);
dao.deleteWith(ask, "replys");
assertEquals(2, dao.count(AskReply.class));
ask = dao.fetchLinks(ask, null);
dao.deleteWith(ask, "replys");