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