Beispiel #1
0
 /**
  * Caching method tests
  */
 public function testCaching()
 {
     $cache = Currency\Currency::getCache();
     $this->assertTrue($cache instanceof CacheAdapter);
     $this->assertTrue(Currency\Currency::hasCache());
     Currency\Currency::clearCache();
     $this->assertTrue(Currency\Currency::hasCache());
     Currency\Currency::removeCache();
     $this->assertFalse(Currency\Currency::hasCache());
 }