@Override
    public Tristate apply(String permission) {
        if (this.permissions == null) {
            this.checkedPermissions.add(permission);
            return Tristate.TRUE;
        } else {
            Tristate result = this.permissions.getOrDefault(permission, Tristate.UNDEFINED);
            if (result != Tristate.UNDEFINED) {
                this.checkedPermissions.add(permission);
            }
            return result;
        }
    }
Perform a permission check for the fake executor

@param permission the permission
@return the result of the permission check
standalone/src/test/java/me/lucko/luckperms/standalone/utils/CommandTester.java