Exemple #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));
 }
 public function testConstructor()
 {
     $this->assertEquals($this->client, $this->plugin->getClient());
     $this->assertEquals($this->options, $this->plugin->getOptions());
 }