def METHOD_NAME(self):
    desired_size = mod.GzipStream.CHUNK_SIZE * 4
    content = uuid.uuid4().bytes * 4
    while len(content) < desired_size:
        content += uuid.uuid4().bytes * 4
    compress_stream = mod.GzipStream(BytesIO(content))
    with tempfile.NamedTemporaryFile() as compressed_f:
        compressed_f.write(compress_stream.read())
        compressed_f.flush()
        with gzip.open(compressed_f.name, 'r') as reader:
            actual = reader.read()
        file_size = os.stat(compressed_f.name).st_size
        self.assertGreater(len(content), file_size)
    self.assertEqual(content, actual)
    self.assertEqual(len(content), compress_stream.content_length)