spec\LdapTools\AttributeConverter\ConvertPasswordMustChangeSpec::it_should_convert_a_bool_properly_when_searching_LDAP_with_a_filter PHP Метод

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

    function it_should_convert_a_bool_properly_when_searching_LDAP_with_a_filter()
    {
        $this->setOperationType(AttributeConverterInterface::TYPE_SEARCH_TO);
        $this->toLdap(true)->shouldBeEqualTo('0');
        $this->toLdap(false)->toLdapFilter()->shouldEqual('(!(pwdLastSet=0))');
    }