Ancestry.Daisy.Tests.Documentor.Unit.CommentDocumentationTest.ItParsesParameters C# (CSharp) Method

ItParsesParameters() private method

private ItParsesParameters ( Type type, string methodName, string paramName, string paramDescription ) : void
type System.Type
methodName string
paramName string
paramDescription string
return void
        public void ItParsesParameters(Type type, string methodName, string paramName, string paramDescription)
        {
            var docs = CommentDocumentation.ParseFile("Ancestry.Daisy.Tests.XML");
            var paramDoc = docs.ForMethod(type.GetMethod(methodName))
                .Parameters.With(paramName);
            Assert.IsNotNull(paramDoc);
            Assert.AreEqual(paramDescription, paramDoc);
        }