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

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

    function it_should_parse_a_schema_with_an_object_that_extends_another_object()
    {
        $this->beConstructedWith(__DIR__ . '/../../../resources/schema');
        $this->parse('example', 'custom_contact')->getAttributesToSelect()->shouldContain('fax');
        $this->parse('example', 'custom_contact')->getRequiredAttributes()->shouldContain('name');
    }
SchemaYamlParserSpec