예제 #1
0
        public void NullForUnknownTypes()
        {
            TableLoader loader = new TableLoader();
            string      tag    = loader.GetTag(typeof(TableLoaderTests));

            Assert.Null(tag);
        }
예제 #2
0
        public void AllNamedTablesAreRegistered(Type type, string name)
        {
            TableLoader tl = new TableLoader();

            Assert.Contains(type, tl.RegisterdTypes());
            Assert.Equal(name, tl.GetTag(type));
        }