public void FlatFileSinkNodeTest()
        {
            string fileName = "testFlatFileName";
            string footer = "testFooter";
            string header = "testHeader";
            string name = "testName";
            string type = typeof(FlatFileSink).AssemblyQualifiedName;

            FlatFileSinkNode node = new FlatFileSinkNode();
            GeneratedApplicationNode.Nodes.Add(node);
            node.Filename = fileName;
            node.Footer = footer;
            node.Header = header;
            node.Name = name;

            Assert.AreEqual(fileName, node.Filename);
            Assert.AreEqual(footer, node.Footer);
            Assert.AreEqual(header, node.Header);
            Assert.AreEqual(name, node.Name);
            Assert.AreEqual(type, node.TypeName);
        }
        public void FlatFileSinkDataTest()
        {
            string fileName = "testFlatFileName";
            string footer = "testFooter";
            string header = "testHeader";
            string name = "testName";
            string type = typeof(FlatFileSink).AssemblyQualifiedName;

            FlatFileSinkData data = new FlatFileSinkData();
            data.FileName = fileName;
            data.Footer = footer;
            data.Header = header;
            data.Name = name;
            data.TypeName = type;

            FlatFileSinkNode node = new FlatFileSinkNode(data);
            GeneratedApplicationNode.Nodes.Add(node);
            FlatFileSinkData nodeData = (FlatFileSinkData) node.SinkData;

            Assert.AreEqual(fileName, nodeData.FileName);
            Assert.AreEqual(footer, nodeData.Footer);
            Assert.AreEqual(header, nodeData.Header);
            Assert.AreEqual(name, nodeData.Name);
            Assert.AreEqual(type, nodeData.TypeName);
        }