Exemplo n.º 1
0
        public void http_stream_disposing()
        {
            var under   = Substitute.For <Stream>();
            var subject = new HttpResponseStream(under, 0);

            subject.Dispose();
            under.Received().Close();
        }