nextcloud-server/tests/lib/AppFramework/Middleware/Security
..
CORSMiddlewareTest.php
SecurityMiddlewareTest.php