public void Should_Get_ValidCommandName() { // Arrange var mediatRMock = new Mock <IMediator>(); var sut = new PrintSummaryCommand(mediatRMock.Object); // Act // Assert Assert.Equal("print summary", sut.Name); }
public void Should_ReturnFalse_IsMatchResut() { // Arrange var mediatRMock = new Mock <IMediator>(); var sut = new PrintSummaryCommand(mediatRMock.Object); // Act var result = sut.IsMatch(""); // Assert Assert.False(result); }