public void InnerStreamIsNotFlushedOnDispose()
        {
            var stream           = FlushReportingStream.GetThrowingStream();
            var delegatingStream = new DelegatingStream(stream);

            // Act & Assert
            delegatingStream.Dispose();
        }
        public void InnerStreamIsOpenOnDispose()
        {
            // Arrange
            var innerStream      = new MemoryStream();
            var delegatingStream = new DelegatingStream(innerStream);

            // Act
            delegatingStream.Dispose();

            // Assert
            Assert.True(innerStream.CanRead);
        }