spec\LdapTools\Utilities\GPOLinkSpec::it_should_only_allow_options_flags_between_zero_and_three PHP Метод

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

    function it_should_only_allow_options_flags_between_zero_and_three()
    {
        $this->shouldNotThrow('\\Exception')->duringSetOptionsFlag(0);
        $this->shouldNotThrow('\\Exception')->duringSetOptionsFlag(1);
        $this->shouldNotThrow('\\Exception')->duringSetOptionsFlag(2);
        $this->shouldNotThrow('\\Exception')->duringSetOptionsFlag(3);
        $this->shouldThrow('LdapTools\\Exception\\InvalidArgumentException')->duringSetOptionsFlag(4);
    }