IssueDto issue = IssueTesting.newDto(rule, file, project);
db.issueDao().insert(session, issue);
session.commit();
Issue result = index.getByKey(issue.getKey());
result.comments();
}
@Test(expected = IllegalStateException.class)
public void is_new_field_is_not_available() throws Exception {
IssueDto issue = IssueTesting.newDto(rule, file, project);