public void Is_Given_An_Item_Of_Paragraph_With_Table_Value_Then_Is_Valid_Returns_True(TableControlFactory factory) { var control = BuildTableControl(); var actual = factory.IsValid(control); actual.Should().BeTrue(); }
public void Is_Given_An_Item_Of_Paragraph_With_No_Table_Values_Then_Is_Valid_Returns_False(TableControlFactory factory) { var control = new ItemBuilder() .SetType("paragraph") .Build(); var actual = factory.IsValid(control); actual.Should().BeFalse(); }