spec\LdapTools\AttributeConverter\ConvertPrimaryGroupSpec::it_should_throw_an_error_when_the_user_is_not_a_member_of_the_group_or_the_group_cannot_be_found_on_modification PHP Метод

it_should_throw_an_error_when_the_user_is_not_a_member_of_the_group_or_the_group_cannot_be_found_on_modification() публичный Метод

    function it_should_throw_an_error_when_the_user_is_not_a_member_of_the_group_or_the_group_cannot_be_found_on_modification()
    {
        $this->setOperationType(AttributeConverterInterface::TYPE_MODIFY);
        $this->setDn('foo');
        $this->shouldThrow('\\LdapTools\\Exception\\AttributeConverterException')->duringToLdap('Domain Users');
    }