spec\LdapTools\Ldif\LdifParserSpec::it_should_parse_an_ldif_with_an_empty_value PHP Метод

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

    function it_should_parse_an_ldif_with_an_empty_value()
    {
        $ldif = file_get_contents(__DIR__ . '/../../resources/ldif/sample2.txt');
        $add = new AddOperation('', ['objectClass' => ['top', 'OpenLDAProotDSE'], 'structuralObjectClass' => ['OpenLDAProotDSE']]);
        $this->parse($ldif)->toOperations()->shouldBeLike([$add]);
    }