MvcContrib.UnitTests.UI.Grid.GridRendererTester.Should_render_custom_name_with_DisplayNameAttribute C# (CSharp) Méthode

Should_render_custom_name_with_DisplayNameAttribute() private méthode

private Should_render_custom_name_with_DisplayNameAttribute ( ) : void
Résultat void
        public void Should_render_custom_name_with_DisplayNameAttribute()
        {
            ColumnFor(x => x.NameWithAttribute);
            string expected =
                "<table class=\"grid\"><thead><tr><th>Name2</th></tr></thead><tbody><tr class=\"gridrow\"><td></td></tr></tbody></table>";
            RenderGrid().ShouldEqual(expected);
        }
GridRendererTester