/** @test */
public function shouldBeAbleToAddAdditionalSchemaTypes()
{
$schemaParser = new \Raml\Schema\Parser\JsonSchemaParser();
$schemaParser->addCompatibleContentType('application/vnd.api-v1+json');
$this->parser->addSchemaParser($schemaParser);
$simpleRaml = $this->parser->parse(__DIR__ . '/fixture/includeUnknownSchema.raml');
$resource = $simpleRaml->getResourceByUri('/songs');
$method = $resource->getMethod('get');
$response = $method->getResponse(200);
$body = $response->getBodyByType('application/vnd.api-v1+json');
$schema = $body->getSchema();
$this->assertInstanceOf('\\Raml\\Schema\\Definition\\JsonSchemaDefinition', $schema);
}