示例#1
0
 protected function tearDown()
 {
     if (null !== $this->path) {
         $this->rmDir($this->path);
         $this->path = null;
     }
     parent::tearDown();
 }
示例#2
0
 /** @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();
 }