Ejemplo n.º 1
0
 public function setUp()
 {
     $this->listener = new RequestListener();
     $this->moduleOptions = new ModuleOptions();
     $this->listener->setModuleOptions($this->moduleOptions);
     $this->client = $this->getMock('NewRelic\\Client', array(), array(), '', false);
     $this->client->expects($this->any())->method('setAppName');
     $this->listener->setClient($this->client);
     $this->event = new MvcEvent();
 }