public void SimpleProperties() { var simpleProperties = new TestReportsSpecificationSetup(); simpleProperties.AddValueProperty("Cedd"); simpleProperties.AddValueProperty("Chad"); var expected = CreateHeaders(CreateHeader("Cedd"), CreateHeader("Chad")); var calculated = new CreateTableHeaders(simpleProperties).Calculate(); AssertEqualHeaders(expected, calculated); }
public void SetUp() { var listPropertyItems = new List <IReportsSpecificationSetup> { new TestReportsSpecificationSetup() .FluentAddValueProperty(PROPERTY1_NAME, PROPERTY1_VALUE1) .FluentAddValueProperty(PROPERTY2_NAME, PROPERTY2_VALUE1), new TestReportsSpecificationSetup() .FluentAddValueProperty(PROPERTY1_NAME, PROPERTY1_VALUE2) .FluentAddValueProperty(PROPERTY2_NAME, PROPERTY2_VALUE2), }; var givenListProperty = new ReportSpecificationSetupList( LIST_PROPERTY_CSHARP_NAME, LIST_PROPERTY_TYPE, listPropertyItems); setupWithListProperty = new TestReportsSpecificationSetup().FluentAddListProperty(givenListProperty); }