Overkill; you can `createDummySecurityRealm` and create a `ProjectMatrixAuthorizationStrategy` inline in the test code, which is more concise. [Example](https://github.com/jenkinsci/script-security-plugin/commit/aa0c8b28290b5d77d160684f2ffc3737a1856e1b#diff-6f8c6ffbeca4d1d208c9c232770a644fR52), though you can also grant `Jenkins.ADMINISTER` to an admin and then need not explicitly grant anything else since it implies other permissions.