Beispiel #1
0
 /**
  * @param EventInterface $event
  * @depends testEventVariables
  *
  * @return EventInterface
  */
 public function testEventExceptionSetGet(EventInterface $event)
 {
     $exception = new EventException();
     $this->assertInstanceOf('Libevent\\Exception\\EventException', $exception->setEvent($event));
     $this->assertInstanceOf('Libevent\\Event\\EventInterface', $exception->getEvent());
     return $event;
 }