public function testSetType() { Cache::setType(Cache::TYPE_DISK); $this->assertEquals(Cache::TYPE_DISK, Cache::getType()); Cache::setType(Cache::TYPE_NONE); $this->assertEquals(Cache::TYPE_NONE, Cache::getType()); }