Exemplo n.º 1
0
 public function testMvcEvent()
 {
     $this->assertInstanceOf('Zend\\Mvc\\MvcEvent', $this->grid->getMvcEvent());
     $mvcEvent = $this->getMock('Zend\\Mvc\\MvcEvent');
     $this->grid->setMvcEvent($mvcEvent);
     $this->assertInstanceOf('Zend\\Mvc\\MvcEvent', $this->grid->getMvcEvent());
     $this->assertEquals($mvcEvent, $this->grid->getMvcEvent());
 }