public void testWriteReport() throws Exception
{
XmlDemoHandler[] handlers = FunctionalityTestLib.getAllXmlDemoHandlers();
for (int i = 0; i < handlers.length; i++)
{
XmlDemoHandler handler = handlers[i];
final URL url = handler.getReportDefinitionSource();
assertNotNull("Failed to locate " + url, url);
final ByteArrayOutputStream bo = new ByteArrayOutputStream();
MasterReport report = null;
try