| TestRequireRole | User with required role accessing protected route | Returns 200 OK, access granted |
| TestRequireRole_Forbidden | User without required role accessing protected route | Returns 403 Forbidden, access denied |
| TestRequireAnyRole | User with one of multiple required roles | Returns 200 OK, access granted when user has editor role |
| TestRequireAllRoles (has all) | User with all required roles | Returns 200 OK, access granted when user has both admin and editor roles |
| TestRequireAllRoles (missing one) | User missing one of required roles | Returns 403 Forbidden, access denied when user has admin but not editor |
| TestRequirePermission | User with required permission accessing resource | Returns 200 OK, access granted with write:posts permission |
| TestAdmin | User with admin role accessing admin route | Returns 200 OK, access granted |
| TestAuthenticated (authenticated) | Authenticated user accessing protected route | Returns 200 OK, access granted |
| TestAuthenticated (unauthenticated) | Unauthenticated user accessing protected route | Returns 401 Unauthorized, authentication required |
| TestHasRole | Checking if user has specific roles | Returns true for user role, false for admin role |
| TestGet | Retrieving user from context | Returns user object with correct ID |
| TestNoUser | Checking role without user in context | Returns false, no access without user |