protected function setUp() { parent::setUp(); if (!class_exists('eZ\\Publish\\Core\\FieldType\\XmlText\\Converter\\Expanding')) { $this->markTestSkipped('This tests requires XmlText field type'); } }