function it_removes_authority_components_with_empty_authority()
    {
        $new_authority = $this->withAuthority("");

        $new_authority->getAuthority()->shouldReturn("");
        $new_authority->getUserInfo()->shouldReturn("");
        $new_authority->getHost()->shouldReturn("");
        $new_authority->getPort()->shouldReturn(null);
    }