public void testDataSourceWriter() throws Exception
{
final ReportWriter writer = createWriter();
final StaticDataSource ds = new StaticDataSource(new Line2D.Float());
final ClassFactory cc = writer.getClassFactoryCollector();
final Writer w = new OutputStreamWriter(new NullOutputStream(), "UTF-16");
final XmlWriter xmlWriter = new XmlWriter(w);
final AttributeList attList = new AttributeList();
attList.addNamespaceDeclaration("", ExtParserModule.NAMESPACE);
xmlWriter.writeTag(ExtParserModule.NAMESPACE, "testcase", attList, XmlWriter.OPEN);