public void BeginWriteThrows()
        {
            var stream = new FrameRequestStream();

            Assert.Throws <NotSupportedException>(() => stream.BeginWrite(new byte[1], 0, 1, null, null));
        }
        public void BeginWriteThrows()
        {
            var stream = new FrameRequestStream(Mock.Of <IHttpBodyControlFeature>());

            Assert.Throws <NotSupportedException>(() => stream.BeginWrite(new byte[1], 0, 1, null, null));
        }