spec\LdapTools\Schema\Parser\SchemaYamlParserSpec::it_should_parse_a_schema_object_with_controls_listed PHP Метод

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

    function it_should_parse_a_schema_object_with_controls_listed()
    {
        $this->beConstructedWith(__DIR__ . '/../../../resources/schema');
        $control1 = new LdapControl('foo', true, 'bar');
        $control2 = new LdapControl('bar');
        $this->parse('example', 'controls')->getControls()->shouldBeLike([$control1, $control2]);
    }
SchemaYamlParserSpec