public void ConvertFromRuleType(int eslintRuleType, AnalysisIssueType analysisIssueType)
 {
     EslintBridgeIssueConverter.Convert((RuleType)eslintRuleType).Should().Be(analysisIssueType);
 }
        public void ConvertFromRuleType_InvalidValue_Throws()
        {
            Action act = () => EslintBridgeIssueConverter.Convert((RuleType)(-1));

            act.Should().ThrowExactly <ArgumentOutOfRangeException>().And.ParamName.Should().Be("ruleType");
        }
 public void ConvertFromRuleSeverity(int eslintRuleSeverity, AnalysisIssueSeverity analysisIssueSeverity)
 {
     EslintBridgeIssueConverter.Convert((RuleSeverity)eslintRuleSeverity).Should().Be(analysisIssueSeverity);
 }