public function testContentTypes()
{
$xml = '
<bundle>
<content-types>
<content-type id="text" service="jarves.content.types.text">
<label>Text</label>
</content-type>
</content-types>
</bundle>
';
$bundleConfig = new Bundle('MyBundle');
$bundleConfig->initialize($xml);
$this->assertEquals(1, count($bundleConfig->getContentTypesArray()));
$this->assertEquals('jarves.content.types.text', $bundleConfig->getContentTypes()[0]->getService());
$this->assertEquals('text', $bundleConfig->getContentTypes()[0]->getId());
}