public void ReadByteThrows() { var stream = new FrameResponseStream(Mock.Of <IHttpBodyControlFeature>(), new MockFrameControl()); Assert.Throws <NotSupportedException>(() => stream.ReadByte()); }
public void ReadByteThrows() { var stream = new FrameResponseStream(); Assert.Throws <NotSupportedException>(() => stream.ReadByte()); }