Akka.Streams.Tests.Dsl.BidiFlowSpec.A_BidiFlow_must_work_as_a_Flow_that_is_open_on_the_right C# (CSharp) Method

A_BidiFlow_must_work_as_a_Flow_that_is_open_on_the_right() private method

        public void A_BidiFlow_must_work_as_a_Flow_that_is_open_on_the_right()
        {
            var f = Flow.Create<string>().Select(int.Parse).Join(Bidi());
            var result =
                Source.From(new[] {ByteString.FromString("1"), ByteString.FromString("2")})
                    .Via(f)
                    .Limit(10)
                    .RunWith(Sink.Seq<long>(), Materializer);
            result.Wait(TimeSpan.FromSeconds(3)).Should().BeTrue();
            result.Result.ShouldAllBeEquivalentTo(new[] {3L, 4L});
        }