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

private GetElementName ( MemberInfo member ) : string
member System.Reflection.MemberInfo
Результат string
 public void TestMemberNameElementNameConvention() {
     var convention = new MemberNameElementNameConvention();
     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 TestMemberNameElementNameConvention()
        {
            var convention = new MemberNameElementNameConvention();
#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
        }