public void SeekThrows() { var stream = new FrameRequestStream(); Assert.Throws <NotSupportedException>(() => stream.Seek(0, SeekOrigin.Begin)); }
public void SeekThrows() { var stream = new FrameRequestStream(Mock.Of <IHttpBodyControlFeature>()); Assert.Throws <NotSupportedException>(() => stream.Seek(0, SeekOrigin.Begin)); }