public void ReadThrows() { var stream = new FrameResponseStream(Mock.Of <IHttpBodyControlFeature>(), new MockFrameControl()); Assert.Throws <NotSupportedException>(() => stream.Read(new byte[1], 0, 1)); }
public void ReadThrows() { var stream = new FrameResponseStream(); Assert.Throws <NotSupportedException>(() => stream.Read(new byte[1], 0, 1)); }