public void Validate_WhenCorrelationIdIsNull_IsValidShouldBeFalse(AnalyzeDiffCommandValidation sut) { var command = new AnalyzeDiffCommand(null); sut.Validate(command).IsValid.Should().BeFalse(); }
public void Validate_WhenCorrelationIdIsEmpty_IsValidShouldBeFalse(AnalyzeDiffCommandValidation sut) { var command = new AnalyzeDiffCommand(string.Empty); sut.Validate(command).IsValid.Should().BeFalse(); }
public void Validate_WhenCorrelationIdIsFilled_IsValidShouldBeTrue(AnalyzeDiffCommandValidation sut, AnalyzeDiffCommand command) { sut.Validate(command).IsValid.Should().BeTrue(); }