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

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

    function it_should_throw_a_SchemaParserException_when_the_schema_does_not_have_the_object_type()
    {
        $this->beConstructedWith(__DIR__ . '/../../../resources/schema');
        $this->shouldThrow(new SchemaParserException('Cannot find object type "pandas" in schema.'))->duringParse('missing_fields', 'pandas');
    }
SchemaYamlParserSpec