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

Should_render() private méthode

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