spec\LdapTools\Security\Ace\AceSpec::it_should_check_whether_the_ace_allows_access PHP Method

it_should_check_whether_the_ace_allows_access() public method

    function it_should_check_whether_the_ace_allows_access()
    {
        $this->beConstructedWith('A');
        $this->isAllowAce()->shouldBeEqualTo(true);
        $this->setType(new AceType('D'));
        $this->isAllowAce()->shouldBeEqualTo(false);
        $this->setType(new AceType('OA'));
        $this->isAllowAce()->shouldBeEqualTo(true);
        $this->setType(new AceType('OD'));
        $this->isAllowAce()->shouldBeEqualTo(false);
    }