public MappedFlowTest() { _source.Current.Returns(10); _source .When(x => x.OnNext(Arg.Any <Action <int> >())) .Do(x => x.ArgAt <Action <int> >(0).Invoke(15)); }