public void It_can_return_an_alterante_successful_outcome() { var alternate = _rejected.Catch(failure => new Outcome<string>("Alternate")); alternate.IsSuccessful.Should().BeTrue(); alternate.ResultOrThrow().Should().Be("Alternate"); }
public void It_can_return_an_alterante_successful_outcome() { var alternate = _rejected.Catch(failure => new Outcome<string>("Alternate")); alternate.IsSuccessful.Should().BeTrue(); alternate.ResultOrThrow().Should().Be("Alternate"); }