public void StringWriteShouldBeReadable()
 {
     var response = new ResponseWithReadableOutputStream(new Mock<HttpResponseBase>().Object);
     response.Write("test");
     Assert.That(response.OutputText, Is.EqualTo("test"));
 }
 public void SlicedWriteShouldBeReadable()
 {
     var response = new ResponseWithReadableOutputStream(new Mock<HttpResponseBase>().Object);
     response.Write("test".ToCharArray(), 1, 2);
     Assert.That(response.OutputText, Is.EqualTo("es"));
 }