spec\LdapTools\Query\Builder\ADFilterBuilderSpec::it_should_return_MatchingRule_when_calling_groupIsType PHP Метод

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

    function it_should_return_MatchingRule_when_calling_groupIsType()
    {
        $this->groupIsType(GroupTypeFlags::GLOBAL_GROUP)->shouldReturnAnInstanceOf('LdapTools\\Query\\Operator\\MatchingRule');
        $this->groupIsType(GroupTypeFlags::GLOBAL_GROUP)->getAttribute()->shouldBeEqualTo('groupType');
        $this->groupIsType(GroupTypeFlags::GLOBAL_GROUP)->getValue()->shouldBeEqualTo(GroupTypeFlags::GLOBAL_GROUP);
    }