Esempio n. 1
0
        public void Should_reuse_stream_states()
        {
            for (var i = 0; i < 10; i++)
            {
                sink.Put(Stream, _ => {});
            }

            writer.ReceivedCalls().Should().HaveCount(10);
            daemon.ReceivedCalls().Should().HaveCount(10);
            pool.ReceivedCalls().Should().HaveCount(20);
        }