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