public void Dispose_NullStream()
        {
            // Arrange
            StreamStorageContent content = new StreamStorageContent(null);

            // Act
            content.Dispose();

            // Assert
        }
        public void Dispose_MemoryStream()
        {
            using (MemoryStream stream = new MemoryStream(new byte[] { 1, 2, 3, 4, 5 }))
            {
                // Arrange
                StreamStorageContent content = new StreamStorageContent(stream);

                // Act
                content.Dispose();

                // Assert
                Assert.Throws<ObjectDisposedException>(delegate { long l = stream.Length; });
            }
        }