protected function tearDown() { if (null !== $this->path) { $this->rmDir($this->path); $this->path = null; } parent::tearDown(); }
/** @test */ public function itShouldReturnDecrementedValue() { list(, $mc) = $this->getClient(); $map = [['item.dec', 1, null, null, 0], ['item.fails', 1, null, null, false]]; $mc->expects($this->any())->method('decrement')->will($this->returnValueMap($map)); return parent::itShouldReturnDecrementedValue(); }