protected function newUserModel($username, $password, array $options = [])
    {
        $user           = new User();
        $user->username = $username;
        $user->password = $password;

        foreach ($options as $key => $value) {
            $user->{$key} = $value;
        }

        return $user;
    }