public void Then_the_command_is_determined_to_be_valid() { Result.IsSuccess.Should().BeTrue(); Result.IsFailed.Should().BeFalse(); Result.HasWarnings().Should().BeFalse(); Result.GetErrors().Should().HaveCount(0); }
public void Then_the_command_is_determined_to_be_valid() { Result.IsSuccess.Should().BeTrue(); Result.IsFailed.Should().BeFalse(); Result.HasWarnings().Should().BeTrue(); Result.GetWarnings().Should().HaveCount(1); Result.GetWarnings().First().PropertyName.Should().Be(nameof(Command.Reference)); }