/** * Reset static instances of metadata managers. May be used in unit tests. */ public static function resetManagers() { self::$managers = array(); }