public static void assertHasPermission(User user, final Permission permission, final AccessControlled... items) {
        for (AccessControlled item : items) {
            assertPermission(user, item, permission);
        }
    }
Provides asserts for {@link hudson.security.Permission} checks.
@author Oleg Nenashev
integrations/src/test/java/io/jenkins/plugins/casc/PermissionAssert.java