public void Is_Given_The_Control_Then_Create_Returns_Un_Ordered_List(UnorderedListControlFactory factory) { var control = BuildUnorderedListItemControl(); var actual = factory.Create(control) as UnorderedList; actual.Should().NotBeNull(); actual.Items.Any().Should().BeTrue(); }
public void Is_Given_An_Item_Of_Type_Unordered_List_Then_Is_Valid_Returns_True(UnorderedListControlFactory factory) { var control = BuildUnorderedListItemControl(); var actual = factory.IsValid(control); actual.Should().BeTrue(); }