public void WhenFailure_IncludesAllErrors() { var result = _failure.AddErrors(_errors); result.Errors.Should().Contain(_errors); }
public void WhenSuccess_DiscardsValue() { var result = _success.AddErrors(_errors); result.HasValue.Should().BeFalse(); }