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