public void WriteByteThrows() { var stream = new FrameRequestStream(); Assert.Throws <NotSupportedException>(() => stream.WriteByte(0)); }
public void WriteByteThrows() { var stream = new FrameRequestStream(Mock.Of <IHttpBodyControlFeature>()); Assert.Throws <NotSupportedException>(() => stream.WriteByte(0)); }