public void Test_DefaultNamingConvention_GetPropertyName() { //---------------Set up test pack------------------- INamingConventions convention = new DefaultPropNamingConventions(); //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var propertyName = convention.GetIDPropertyName(typeof(FakeBOWProps).ToTypeWrapper()); //---------------Test Result ----------------------- Assert.AreEqual("FakeBOWPropsID", propertyName); }
public void Test_DefaultNamingConvention_GetPropertyName() { //---------------Set up test pack------------------- INamingConventions convention = new DefaultPropNamingConventions(); //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var propertyName = convention.GetIDPropertyName(typeof(FakeBOWProps).ToTypeWrapper()); //---------------Test Result ----------------------- Assert.AreEqual("FakeBOWPropsID", propertyName); }