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

Infers_format_from_DisplayFormAttribute() private méthode

private Infers_format_from_DisplayFormAttribute ( ) : void
Résultat void
        public void Infers_format_from_DisplayFormAttribute()
        {
            ColumnFor(x => x.DateWithAttribute);

            string expected =
                "<table class=\"grid\"><thead><tr><th>Date With Attribute</th></tr></thead><tbody><tr class=\"gridrow\"><td>01</td></tr></tbody></table>";

            RenderGrid().ShouldEqual(expected);
        }
GridRendererTester