getMapping() as $classname) { if (substr_count($classname, '\\')) { $this->assertTrue(class_exists($classname) || interface_exists($classname), 'mapping is wrong, class does not exists in project: ' . $classname); } } } }