Execute test code on object

If you want to automate some tests, or simply try some piece of code, there is a handy function that you can use:

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:

1 Like