def METHOD_NAME(self):
    self._write_in_file(self.some_string)
    bad_level = zstandard.MAX_COMPRESSION_LEVEL+1
    self._call_php("compress", level=bad_level)
    self.kphp_server.assert_log([
        "zstd_compress: compression level \\({}\\) must be within -\\d*..22 or equal to 0".format(bad_level),
    ])
    self.assertEqual(self._read_out_file(), b"false")