spec\LdapTools\Utilities\LdapUtilitiesSpec::when_exploding_a_dn_it_should_unescape_hex_values PHP Метод

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

    function when_exploding_a_dn_it_should_unescape_hex_values()
    {
        $this::explodeDn('cn=Foo\\,\\=bar,dc=foo,dc=bar')->shouldContain('Foo=bar');
        $this::explodeDn('cn=Foo\\,\\=bar,dc=foo,dc=bar')->shouldHaveCount(3);
        $this::explodeDn('cn=Foo\\,\\=bar,dc=foo,dc=bar', 0)->shouldContain('cn=Foo=bar');
    }