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

Should_render_custom_attributes_when_Attributes_called_multiple_times() private méthode

        public void Should_render_custom_attributes_when_Attributes_called_multiple_times()
        {
            ColumnFor(x => x.Name).Attributes(foo => "bar").Attributes(baz => "blah");
            string expected =
                "<table class=\"grid\"><thead><tr><th>Name</th></tr></thead><tbody><tr class=\"gridrow\"><td foo=\"bar\" baz=\"blah\">Jeremy</td></tr></tbody></table>";
            RenderGrid().ShouldEqual(expected);
        }
GridRendererTester