Ejemplo n.º 1
0
        public void TestCfgUseTypes()
        {
            Assert.AreEqual(Cfg.UseTypes.Count, 1);
            Assert.AreEqual(Cfg.UseTypes.Contains(typeof(IToken).FullName), true);

            var meta = Cmd.GetCommand("Test001").Meta;

            Assert.AreEqual(meta.Args.First(c => c.Type == typeof(Token)).UseType, true);
        }