public function testClearCache() { $this->driver->expects($this->once())->method('clear')->will($this->returnValue(true)); $this->assertTrue($this->cache->clear()); }