function it_should_throw_a_SchemaParserException_when_the_schema_is_missing_an_objects_definition()
{
$folder = __DIR__ . '/../../../resources/schema';
$schema = 'no_objects';
$this->beConstructedWith($folder);
$this->shouldThrow(new SchemaParserException('Cannot find the "objects" section in the schema "' . $schema . '" in "' . $folder . '".'))->duringParse('no_objects', 'user');
}