public testDoesNotStoreNonImageModelsInTheCache ( ) |
public function testDoesNotStoreNonImageModelsInTheCache()
{
$this->response->expects($this->once())->method('getModel')->will($this->returnValue($this->getMock('Imbo\\Model\\Error')));
$this->request->expects($this->never())->method('getUser');
$this->listener->storeInCache($this->event);
}