def METHOD_NAME(self):
    lib_dir_path = get_full_path(__file__, step_up=1)
    lib_dir_content = [
        "xstream-1.4.15.jar",   # lib with some vulnerability, must be replaced
        "log4j-core-2.16.jar",  # only old jmeter versions contains affected log4j components
        "some-other-lib-0.99.jar"]  # other jar, mustn't be touched
    listdir = lambda _: lib_dir_content
    self.obj.version = '1.0'
    saved_listdir = os.listdir
    os.listdir = listdir
    try:
        jar_tools = self.obj._get_jar_fixes(lib_dir_path)
        target_tools_list = []
        self.assertEqual(target_tools_list, jar_tools)
    finally:
        os.listdir = saved_listdir