public void TableLayoutTest() { AbstractLayout l = LayoutFactory.CreateGenerator(GlobalEnums.ReportLayout.TableLayout, ReportModel.Create(), new ReportItemCollection()); Assert.IsAssignableFrom <TableLayout>(l, "Should be 'TableLayout'"); }