public function testConstructorException() { if (class_exists('Memcache')) { $c = Cache::factory(new Memcached('some-wrong-host'), 30); } }