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