示例#1
0
 public function testEmptyConfiguration()
 {
     INIT::$MEMCACHE_SERVERS = array();
     MemcacheHandler::close();
     $this->setExpectedException('LogicException');
     /**
      * without INIT configuration
      */
     $x = MemcacheHandler::getInstance();
 }