public function testOptimize() { if (!$this->_storage instanceof OptimizableInterface) { $this->markTestSkipped("Storage doesn't implement OptimizableInterface"); } $this->assertTrue($this->_storage->optimize()); }