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

Should_render_with_custom_Header() private méthode

private Should_render_with_custom_Header ( ) : void
Résultat void
        public void Should_render_with_custom_Header()
        {
            ColumnFor(x => x.Name).Header("TEST");
            ColumnFor(x => x.Id);
            string expected = "<table class=\"grid\"><thead><tr><th>TEST</th><th>Id</th></tr></thead><tbody><tr class=\"gridrow\"><td>Jeremy</td><td>1</td></tr></tbody></table>";
            RenderGrid().ShouldEqual(expected);
        }
GridRendererTester