public function testGetContentType($contentType) { /** @var \Bolt\Application */ $app = $this->getApp(); $app['config']->set('contenttypes/' . $contentType['key'], $contentType); // We should be able to retrieve $contentType when querying getContentType() for its key, slug, singular // slug, name and singular name foreach ($contentType as $key => $value) { $this->assertSame($contentType, $app['storage']->getContentType($value)); } }