Exemple #1
0
        public void a_zero_length_uncompressed_stream_should_result_in_an_empty_string()
        {
            var src     = new MemoryStream();
            var subject = new HttpResponseStream(src, 0);

            var result = subject.ReadStringToLength();

            Assert.That(result, Is.EqualTo(""));
        }