public void create_manual_issue_with_rule_name_when_no_message() {
RuleDto manualRule = RuleTesting.newManualRule("manualRuleKey").setName("Manual rule name");
tester.get(RuleDao.class).insert(session, manualRule);
session.commit();
Issue result = service.createManualIssue(file.key(), manualRule.getKey(), 10, null, null, 2d);
Issue manualIssue = indexClient.get(IssueIndex.class).getByKey(result.key());
assertThat(manualIssue.message()).isEqualTo("Manual rule name");
}