spec\LdapTools\Security\Ace\AceSpec::it_should_check_whether_the_ace_denies_access PHP 메소드

it_should_check_whether_the_ace_denies_access() 공개 메소드

    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);
    }