Exemplo n.º 1
0
 public function testRemoveDoLogRemoveAction()
 {
     $this->_model->add($this->_items['item1']);
     $this->_logger->expects($this->once())->method('log')->with($this->equalTo(sprintf('Remove on item with id %s was processed', $this->_items['item1']->getId())));
     $this->_model->remove('item1');
 }