Akka.Streams.Tests.Dsl.FlowCompileSpec.Flow_should_append_Source C# (CSharp) Метод

Flow_should_append_Source() приватный Метод

private Flow_should_append_Source ( ) : void
Результат void
        public void Flow_should_append_Source()
        {
            var open = Flow.Create<int>().Select(x => x.ToString());
            var closedSource = StringSeq.Via(Flow.Create<string>().Select(x => x.GetHashCode()));
            dynamic closedSource2 = closedSource.Via(open);
            Action compiler = () => closedSource2.Run(Materializer);
            compiler.ShouldThrow<RuntimeBinderException>();
            compiler = () => StringSeq.To(closedSource2);
            compiler.ShouldThrow<RuntimeBinderException>();
            closedSource2.To(Sink.AsPublisher<string>(false)).Run(Materializer);
        }