private function _createCacheInstance($type) { $config = array("system" => $type); $cache = Cache::getInstance($config); $this->assertInstanceOf('tdt\\cache\\Cache', $cache, "Could not construct {$type} instance"); return $cache; }