Arnolyzer.Tests.Analyzers.EncapsulationAnalyzers.AA1101ClassPropertiesShouldBePubliclyRead_OnlyAnalyzer_Tests.AnalyzerCorrectlySetsItsDetails C# (CSharp) 메소드

AnalyzerCorrectlySetsItsDetails() 개인적인 메소드

private AnalyzerCorrectlySetsItsDetails ( ) : void
리턴 void
        public void AnalyzerCorrectlySetsItsDetails()
        {
            var details = new AA1101ClassPropertiesShouldBePubliclyRead_OnlyAnalyzer().GetAnalyzerDetails();
            Assert.AreEqual(AnalyzerCategories.EncapsulationAnalyzers, details.Category);
            Assert.AreEqual("Class Properties Should Be Publicly Read-Only", details.Name);
            Assert.AreEqual("AA1101ClassPropertiesShouldBePubliclyReadOnly", details.DiagnosticId);
            Assert.AreEqual(Resources.AA1101ClassPropertiesShouldBePubliclyReadOnlyTitle, details.Title.ToString());
            Assert.AreEqual(Resources.AA1101ClassPropertiesShouldBePubliclyReadOnlyDescription, details.Description.ToString());
            Assert.AreEqual(Resources.AA1101ClassPropertiesShouldBePubliclyReadOnlyMessageFormat, details.MessageFormat.ToString());
        }