/**
  * Tests the setDbo method with the wrong type of class.
  */
 public function testSetDboWithGoodInput()
 {
     $instance = new JDatabaseImporterMysqli();
     $result = $instance->setDbo($this->dbo);
     $this->assertThat($result, $this->identicalTo($instance), 'setDbo must return an object to support chaining.');
 }
 /**
  * Tests the setDbo method with the wrong type of class.
  *
  * @return void
  *
  * @since  11.1
  */
 public function testSetDboWithGoodInput()
 {
     $instance = new JDatabaseImporterMysqli();
     try {
         $result = $instance->setDbo($this->dbo);
         $this->assertThat($result, $this->identicalTo($instance), 'setDbo must return an object to support chaining.');
     } catch (PHPUnit_Framework_Error $e) {
         // Unknown error has occurred.
         $this->fail($e->getMessage());
     }
 }