Ejemplo n.º 1
0
        public void TestMethod_HelpCommand_CheckVar1()
        {
            // Arrange
            var command = new HelpCommand();
            command.Params = HelpCommand.HelpTextVar1;

            // Act
            var result = command.IsMatch();

            // Assert
            Assert.AreEqual(true, result);
        }
Ejemplo n.º 2
0
        public void TestMethod_HelpCommand_NoFound()
        {
            // Arrange
            var command = new HelpCommand();
            command.Params = "dkrfkktk";

            // Act
            var result = command.IsMatch();

            // Assert
            Assert.AreEqual(false, result);
        }