Пример #1
0
 /**
  * @expectedException Imanee\Exception\UnsupportedMethodException
  */
 public function testAddFilterShouldThrowExceptionIfNotSupported()
 {
     $dummy = $this->getMock('Imanee\\Model\\ImageResourceInterface');
     $this->model->setResource($dummy);
     $this->model->addFilter($this->getMock('Imanee\\Model\\FilterInterface'));
 }