예제 #1
0
        public void TestMethod_EmptyCommand_ChekIsNotMatch()
        {
            // Arrange
            var command = new EmptyCommand();
            command.Params = "frwrtg";

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

            // Assert
            Assert.AreEqual(false, result);
        }
예제 #2
0
        public void TestMethod_EmptyCommand()
        {
            // Arrange
            var command = new EmptyCommand();
            command.Params = "dfgtt";

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

            // Assert
            Assert.AreEqual("This is help...", result);
        }