function it_should_return_MatchingRule_when_calling_groupIsDomainLocal() { $this->groupIsDomainLocal()->shouldReturnAnInstanceOf('LdapTools\\Query\\Operator\\MatchingRule'); $this->groupIsDomainLocal()->getAttribute()->shouldBeEqualTo('groupType'); $this->groupIsDomainLocal()->getValue()->shouldBeEqualTo(GroupTypeFlags::DOMAIN_LOCAL_GROUP); }