public void FlushDoesNotThrow() { var stream = new FrameRequestStream(); stream.Flush(); }
public void FlushThrows() { var stream = new FrameRequestStream(Mock.Of <IHttpBodyControlFeature>()); Assert.Throws <NotSupportedException>(() => stream.Flush()); }