public void ForeignKeyTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);

            var count = provider.MockReadForeignKeys();

            Assert.AreEqual(755, count);
        }
        public void InidzesTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);

            var count = provider.MockReadIndizes();

            Assert.AreEqual(0, count);
        }
        public void ColumnsTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);

            var count = provider.MockReadColumns();

            Assert.AreEqual(7093, count);
        }
        public void CombineTriggersAndTablesTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);

            var count = provider.MockCombineTriggersAndTables();

            Assert.AreEqual(0, count);
        }
        public void ReadProceduresTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);

            var count = provider.MockReadProcedures();

            Assert.AreEqual(322, count);
        }
        public void OverallReadSchemaTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);

            provider.ReadSchema();
        }
        public void CombineForeignKeysAndTablesTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);

            Assert.AreEqual(0, provider.MockCombineForeignKeysAndTables());
        }
        public void CombineColumnsAndTableTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);

            Assert.AreEqual(0, provider.MockCombineColumnsAndTabless());
        }
        public void ToDiskTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);
            provider.ReadSchema();

            new SchemaSerializer().WriteToDisk(provider, @"c:\testdata.txt");
        }
        public void TablesTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);

            var count = provider.MockReadTables();

            Assert.AreEqual(668, count);
        }
        public void ReadViewsTest()
        {
            FastSchemaProviderMock provider = new FastSchemaProviderMock(con);

            var count = provider.MockReadViews();

            Assert.AreEqual(30, count);
        }