If you want to automate some tests, or simply try some piece of code, there is a handy function that you can use:
@Override
public String unitTests() {
AppLog.info(getClass(), "unitTests", "==========TEST==========", getGrant());
return null;
}
It will only be called by executing this action available at the object definition: