spec\LdapTools\AttributeConverter\ConvertWindowsSidSpec::it_should_return_a_string_sid_for_well_known_sids_when_calling_fromLdap PHP Метод

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

    function it_should_return_a_string_sid_for_well_known_sids_when_calling_fromLdap()
    {
        $this->fromLdap(pack('H*', str_replace('\\', '', $this->sidBuiltinHex)))->shouldBeEqualTo($this->sidBuiltinString);
        $this->fromLdap(pack('H*', str_replace('\\', '', $this->sidNobodyHex)))->shouldBeEqualTo($this->sidNobodyString);
        $this->fromLdap(pack('H*', str_replace('\\', '', $this->sidSelfHex)))->shouldBeEqualTo($this->sidSelfString);
        $this->fromLdap(pack('H*', str_replace('\\', '', $this->sidNullHex)))->shouldBeEqualTo($this->sidNullString);
    }