nextcloud-server/tests/lib/Security/Events
..
GenerateSecurePasswordEventTest.php
ValidatePasswordPolicyEventTest.php