public CommandTester givenHasPermissions(String... permissions) {
        this.permissions = new HashMap<>();
        for (String permission : permissions) {
            this.permissions.put(permission, Tristate.TRUE);
        }
        return this;
    }
Marks that the fake executor should have the given permissions

@return this
standalone/src/test/java/me/lucko/luckperms/standalone/utils/CommandTester.java