public void Test_XmlGenerator_Constructor()
        {
            // arrange
            var adapter = new Mock<IDatabaseAdapter>();

            // act
            var xmlGenerator = new XmlConversionGenerator(adapter.Object);

            // assert
            Assert.IsNotNull(xmlGenerator);
        }
        public void Test_ConversionGenerator_Generates_Correct_Xml()
        {
            // arrange
            var adapter = new Mock<IDatabaseAdapter>();
            adapter.Setup(x => x.GetSchema("tblContacts"))
                .Returns(new [] { "one", "two", "three" });
            var generator = new XmlConversionGenerator(adapter.Object);

            // act
            var result = generator.GenerateXmlConversionTemplate("tblContacts");

            // assert
            Assert.IsInstanceOfType(result, typeof(ConversionDocument));
            result.Save("test.xml");
        }