public void testCollectStyleSheetsClone () throws ReportDefinitionException,
CloneNotSupportedException
{
setup();
final SimpleCardDemoHandler cardDemoHandler = new SimpleCardDemoHandler();
MasterReport report = cardDemoHandler.createReport();
report = (MasterReport) report.clone();
assertStyleCollectionConnected(report);
/*
Iterator it = report.getStyleSheetCollection().keys();
while (it.hasNext())
{
Log.debug (it.next());
}
*/
assertNotNull(report.getStyleSheetCollection().getStyleSheet("right-band"));
}