示例#1
0
 /**
  * @dataProvider successFailureDataProvider
  * @param bool $result
  */
 public function testRemove($result)
 {
     $this->_cacheFrontendMock->expects($this->once())->method('remove')->with('test_id')->will($this->returnValue($result));
     $this->assertEquals($result, $this->_model->remove('test_id'));
 }
示例#2
0
 public function removeValue($key)
 {
     $cacheKey = \Ess\M2ePro\Helper\Data::CUSTOM_IDENTIFIER . '_' . $key;
     $this->cache->remove($cacheKey);
 }