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