Beispiel #1
0
        public void FixtureClassesSupportedTableTest3()
        {
            var list         = FixtureClasses.SupportedTables(typeof(TableTypeFixture));
            var expectedList = new List <string> {
                "Script", "Table"
            };

            Assert.IsTrue(expectedList.SequenceEqual(list));
        }
Beispiel #2
0
        public void FixtureClassesSupportedTableTest2()
        {
            var list         = FixtureClasses.SupportedTables(typeof(WrongTableClass));
            var expectedList = new List <string> {
                "Decision", "Script"
            };

            Assert.IsTrue(expectedList.SequenceEqual(list));
            Assert.IsFalse(FixtureClasses.SupportedTables(typeof(TableTypeFixture)).Contains("Query"));
        }