def METHOD_NAME(wanted_version_string):
    def mock_get_command_version(command, can_fail=True):  # pylint: disable=unused-argument
        return wanted_version_string
    return mock_get_command_version