예제 #1
0
 public function testEventHooksEmpty()
 {
     $this->markTestSkipped('This test is currently skipped for unknown reasons.');
     $this->assertEquals(null, $this->plugin->preCreateRequest(null));
     $this->assertEquals(null, $this->plugin->postCreateRequest(null, null));
     $this->assertEquals(null, $this->plugin->preExecuteRequest(null));
     $this->assertEquals(null, $this->plugin->postExecuteRequest(null, null));
     $this->assertEquals(null, $this->plugin->preExecute(null));
     $this->assertEquals(null, $this->plugin->postExecute(null, null));
     $this->assertEquals(null, $this->plugin->preCreateResult(null, null));
     $this->assertEquals(null, $this->plugin->postCreateResult(null, null, null));
     $this->assertEquals(null, $this->plugin->preCreateQuery(null, null));
     $this->assertEquals(null, $this->plugin->postCreateQuery(null, null, null));
 }
예제 #2
0
 /**
  * @param LoggerInterface $logger
  */
 public function __construct(LoggerInterface $logger)
 {
     $this->logger = $logger;
     parent::__construct();
 }