src/GenFx.Wpf.Tests/DisplayNameHelperTest.cs
/// <summary>
/// Tests that the <see cref="DisplayNameHelper.GetDisplayName"/> method returns the correct value
/// when the object's type has a <see cref="DisplayNameAttribute"/>.
/// </summary>
Tests that the  method returns the correct value
when the object's type has a .
Tests that the method returns the correct value when the object ' s type has a .
[Fact]
        public void DisplayNameHelper_GetDisplayName_DisplayNameAttribute()
        {
            string result = DisplayNameHelper.GetDisplayName(new TestClass());
            Assert.Equal(TestClassDisplayName, result);
        }
[ Fact ] public void DisplayNameHelper_GetDisplayName_DisplayNameAttribute ( ) { string result = DisplayNameHelper . GetDisplayName ( new TestClass ( ) ) ; Assert . Equal ( TestClassDisplayName , result ) ; }
Tests that the  method returns the correct value
when the object's type has a .
Tests that the method returns the correct value when the object ' s type has a .