Beispiel #1
0
        public void GetShellCommandNameTest()
        {
            string name = ShellCommand.GetShellCommandName(typeof(TestCommand));

            Assert.AreEqual("test", name);

            name = ShellCommand.GetShellCommandName(typeof(AnotherCommand));
            Assert.AreEqual("AnotherCommand", name);
        }