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

it_should_check_whether_the_ace_denies_access() public method

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