public void server_insert_new_issues_with_session() throws Exception {
ComponentDto project = new ComponentDto().setId(10L);
ComponentDto component = new ComponentDto().setId(100L);
FakeServerSaver saver = new FakeServerSaver(getMyBatis(), new FakeRuleFinder(), component, project);
DefaultIssueComment comment = DefaultIssueComment.create("ABCDE", "emmerik", "the comment");
// override generated key
comment.setKey("FGHIJ");
Date date = DateUtils.parseDate("2013-05-18");
DefaultIssue issue = new DefaultIssue()
.setKey("ABCDE")
.setNew(true)