def METHOD_NAME(self):
    self.stream_log = StreamLog("MYINT", "WRITE")
    self.stream_log.write(b"\x00\x01\x02\x03")
    self.stream_log.stop()
    time.sleep(0.1)
    key = list(self.mock.files.keys())[0]
    self.assertIn("myint_stream_write.bin.gz", key)
    bin = zlib.decompress(self.mock.files[key])
    self.assertEqual(bin, b"\x00\x01\x02\x03")