public void Test_AutoMapDisplayName_ConstructWithValue_ShouldSetValue() { //---------------Set up test pack------------------- const string displayName = "myDisplayName"; //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var attribute = new AutoMapDisplayNameAttribute(displayName); //---------------Test Result ----------------------- Assert.AreEqual(displayName, attribute.DisplayName); }
public void Test_AutoMapDisplayName_ConstructWithValue_ShouldSetValue() { //---------------Set up test pack------------------- const string displayName = "myDisplayName"; //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var attribute = new AutoMapDisplayNameAttribute(displayName); //---------------Test Result ----------------------- Assert.AreEqual(displayName, attribute.DisplayName); }