public void SetLength_ThrowsNotSupportedException()
 {
     using (var stream = new BlockingMemoryStream())
     {
         Assert.Throws<NotSupportedException>(() => { stream.SetLength(0); });
     }
 }