Beispiel #1
0
 /**
  * Try to get the iron cache object
  */
 public function testGetCache()
 {
     //Disconnect all services
     self::$iio->disconnect();
     //Try cache only
     self::$iio->services = array('cache');
     self::$iio->connect();
     $cached = self::$iio->getRawCache();
     $this->assertInstanceOf('IronCache', $cached);
 }