/** @test */
public function shouldNotParseIncludedJsonIfNotRequired()
{
$config = new \Raml\ParseConfiguration();
$config->disableSchemaParsing();
$this->parser->setConfiguration($config);
$simpleRaml = $this->parser->parse(__DIR__ . '/fixture/includeSchema.raml');
$resource = $simpleRaml->getResourceByUri('/songs');
$method = $resource->getMethod('get');
$response = $method->getResponse(200);
$body = $response->getBodyByType('application/json');
$schema = $body->getSchema();
$this->assertInternalType('string', $schema);
}