Exemple #1
0
        public void Is_Passed_An_Object_Of_IHtmlControl_That_Is_Not_Of_Tabs_Then_Supports_Content_Returns_False(Table table)
        {
            TabbedContentRenderer renderer = new TabbedContentRenderer();
            var actual = renderer.SupportsContent(table);

            actual.Should().BeFalse();
        }
Exemple #2
0
        public void Is_Passed_An_Object_Of_IHtmlControl_That_Is_Of_Tabs_Then_Supports_Content_Returns_True()
        {
            TabbedContentRenderer renderer = new TabbedContentRenderer();

            var tabs          = new Tabs();
            var tabbedContent = new List <TabbedContent>();

            tabbedContent.Add(new TabbedContent());

            var actual = renderer.SupportsContent(tabs);

            actual.Should().BeTrue();
        }