drupal/core/modules/system/tests/modules/session_test/session_test.module, line 149
Code
functionsession_test_user_login($account) {
if ($account->name == 'session_test_user') {
// Exit so we can verify that the session was regenerated
// before hook_user_login() was called.exit;
}
}