public void Flow_should_append_Flow()
{
var open1 = Flow.Create<int>().Select(x => x.ToString());
var open2 = Flow.Create<string>().Select(x => x.GetHashCode());
dynamic open3 = open1.Via(open2);
Action compiler = () => open3.Run(Materializer);
compiler.ShouldThrow<RuntimeBinderException>();
dynamic closedSource = IntSeq.Via(open3);
compiler = () => closedSource.Run(Materializer);
compiler.ShouldThrow<RuntimeBinderException>();
dynamic closedSink = open3.To(Sink.AsPublisher<int>(false));
compiler = () => closedSink.Run(Materializer);
compiler.ShouldThrow<RuntimeBinderException>();
closedSource.To(Sink.AsPublisher<int>(false)).Run(Materializer);
IntSeq.To(closedSink).Run(Materializer);
}