protected function createGuardian(string $password): Guardian
    {
        $guardian = [
            'is_active' => true,
            'username' => 'Guardian',
            'email' => 'guardian@example.com',
        ];

        return tap(app('cortex.auth.guardian')->firstOrNew($guardian)->fill([
            'remember_token' => str_random(10),
            'password' => $password,
        ]), function ($instance) {
            $instance->save();
        });
    }