spec\LdapTools\Utilities\LdapUtilitiesSpec::it_should_encode_carriage_returns_when_escaping_a_dn PHP 메소드

it_should_encode_carriage_returns_when_escaping_a_dn() 공개 메소드

    function it_should_encode_carriage_returns_when_escaping_a_dn()
    {
        $this->escapeValue("Before\rAfter", null, LDAP_ESCAPE_DN)->shouldBeEqualTo('Before\\0dAfter');
        $this->escapeValue("Before\rAfter", null, LDAP_ESCAPE_FILTER)->shouldBeEqualTo("Before\rAfter");
    }