GetElementName() приватный Метод

private GetElementName ( MemberInfo member ) : string
member System.Reflection.MemberInfo
Результат string
 public void TestCamelCaseElementNameConvention() {
     var convention = new CamelCaseElementNameConvention();
     Assert.AreEqual("firstName", convention.GetElementName(typeof(TestClass).GetProperty("FirstName")));
     Assert.AreEqual("age", convention.GetElementName(typeof(TestClass).GetProperty("Age")));
     Assert.AreEqual("_DumbName", convention.GetElementName(typeof(TestClass).GetProperty("_DumbName")));
     Assert.AreEqual("lowerCase", convention.GetElementName(typeof(TestClass).GetProperty("lowerCase")));
 }
        public void TestCamelCaseElementNameConvention()
        {
            var convention = new CamelCaseElementNameConvention();
#pragma warning disable 618
            Assert.AreEqual("firstName", convention.GetElementName(typeof(TestClass).GetProperty("FirstName")));
            Assert.AreEqual("age", convention.GetElementName(typeof(TestClass).GetProperty("Age")));
            Assert.AreEqual("_dumbName", convention.GetElementName(typeof(TestClass).GetProperty("_dumbName")));
            Assert.AreEqual("lowerCase", convention.GetElementName(typeof(TestClass).GetProperty("lowerCase")));
#pragma warning restore 618
        }