private void TestBeginCssClassForFlowType(string flowType)
        {
            var    exporter = new ConfiguredExport(null, null, 0);
            string output;

            using (var stream = new MemoryStream())
            {
                using (var writer = new StreamWriter(stream))
                {
                    exporter.Initialize(Cache, null, writer, null, "xhtml", null, "dicBody");

                    var frag = new XmlDocument();
                    frag.LoadXml("<p css='some#style' flowType='" + flowType + "'/>");

                    exporter.BeginCssClassIfNeeded(frag.DocumentElement);
                    writer.Flush();
                    stream.Seek(0, SeekOrigin.Begin);
                    using (var reader = new StreamReader(stream))
                    {
                        output = reader.ReadToEnd();
                    }
                }
            }
            Assert.That(output, Is.StringContaining("class=\"someNUMBER_SIGNstyle\""));
        }