<BUG>activeRulesBuilder.activate(SQUID_RULE_KEY).setSeverity(Severity.INFO);</BUG><CONTEXT>assertThat(argument.getValue().message()).isEqualTo("Avoid Cycle");}@Testpublic void add_deprecated_violation() throws Exception {ruleBuilder.add(SQUID_RULE_KEY).setName(SQUID_RULE_NAME);<extra_id_0>initModuleIssues();org.sonar.api.rules.Rule rule = org.sonar.api.rules.Rule.create("squid", "AvoidCycle", "Avoid Cycle");Resource resource = new File("org/struts/Action.java").setEffectiveKey("struts:src/org/struts/Action.java");</CONTEXT>
activeRulesBuilder.create(SQUID_RULE_KEY).setSeverity(Severity.INFO).activate();