public void AllIncludedCommandsExist()
        {
            StandardCommandMap cm = new StandardCommandMap();

            cm.Load(@"Commands\commandmap.Simple.xml");

            Assert.True(cm.CommandExists("IncludedCommand"));
            Assert.True(cm.CommandExists("CommandWithMissingFriendly"));
            Assert.True(cm.CommandExists("CommandWithMissingInclude"));
            Assert.True(cm.CommandExists("CommandWithNonstandardFriendly"));
        }
        public void UndefinedCommandsDoNotExist()
        {
            StandardCommandMap cm = new StandardCommandMap();

            cm.Load(@"Commands\commandmap.Simple.xml");

            Assert.False(cm.CommandExists("MiscellaneousCommand"));
        }
        public void AllExcludedCommandsDoNotExist()
        {
            StandardCommandMap cm = new StandardCommandMap();

            cm.Load(@"Commands\commandmap.Simple.xml");

            Assert.False(cm.CommandExists("ExcludedCommand"));
        }