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

Should_render_custom_row_start() private méthode

private Should_render_custom_row_start ( ) : void
Résultat void
        public void Should_render_custom_row_start()
        {
            ColumnFor(x => x.Id);
            _model.Sections.RowStart(x => "<tr foo=\"bar\">");
            string expected = "<table class=\"grid\"><thead><tr><th>Id</th></tr></thead><tbody><tr foo=\"bar\"><td>1</td></tr></tbody></table>";
            RenderGrid().ShouldEqual(expected);
        }
GridRendererTester