public void A_Recover_must_failed_stream_if_handler_is_not_for_such_exception_type()
{
this.AssertAllStagesStopped(() =>
{
Source.From(Enumerable.Range(1, 3)).Select(x =>
{
if (x == 2)
throw Ex;
return x;
})
.Recover(_ => Option<int>.None)
.Select(x=>x.Value)
.RunWith(this.SinkProbe<int>(), Materializer)
.RequestNext(1)
.Request(1)
.ExpectError().Should().Be(Ex);
}, Materializer);
}