public function createUser($username, $password, array $data = [])
    {
        /** @var UserInterface|EloquentUser $user */
        $user = $this->sentinel->registerAndActivate([
            'email'    => $username,
            'password' => $password,
        ]);

        if ( ! $user) {
            // @codeCoverageIgnoreStart
            throw new \Exception("Failed to create user '{$username}'");
            // @codeCoverageIgnoreEnd
        }

        $user->update($data);

        return $user;
    }