Exemplo n.º 1
0
 public function testSetEventName()
 {
     $name = 'eventName';
     $this->observer->setEventName($name);
     $result = $this->observer->getData('event_name');
     $this->assertEquals($result, $this->observer->getEventName($name));
 }