assertThat(manualIssue.ruleKey()).isEqualTo(manualRule.getKey());
assertThat(manualIssue.message()).isEqualTo("Fix it");
assertThat(manualIssue.line()).isEqualTo(10);
assertThat(manualIssue.severity()).isEqualTo(Severity.MINOR);
assertThat(manualIssue.effortToFix()).isEqualTo(2d);
assertThat(manualIssue.reporter()).isEqualTo(connectedUser.getLogin());
}
@Test
public void create_manual_issue_with_major_severity_when_no_severity() {
RuleDto manualRule = RuleTesting.newManualRule("manualRuleKey");