public void TestMethod_EmptyCommand_ChekIsNotMatch() { // Arrange var command = new EmptyCommand(); command.Params = "frwrtg"; // Act var result = command.IsMatch(); // Assert Assert.AreEqual(false, result); }
public void TestMethod_EmptyCommand() { // Arrange var command = new EmptyCommand(); command.Params = "dfgtt"; // Act var result = command.DoAction(); // Assert Assert.AreEqual("This is help...", result); }