/**
  * Tests the check method.
  *
  * @return void
  * @since  11.1
  */
 public function testCheckWithGoodInput()
 {
     $instance = new JDatabaseExporterMysqli();
     $instance->setDbo($this->dbo);
     $instance->from('foobar');
     try {
         $result = $instance->check();
         $this->assertThat($result, $this->identicalTo($instance), 'check must return an object to support chaining.');
     } catch (Exception $e) {
         $this->fail('Check method should not throw exception with good setup: ' . $e->getMessage());
     }
 }
 /**
  * Tests the check method.
  */
 public function testCheckWithGoodInput()
 {
     $instance = new JDatabaseExporterMysqli();
     $instance->setDbo($this->dbo);
     $instance->from('foobar');
     $result = $instance->check();
     $this->assertSame($instance, $result, 'check must return an object to support chaining.');
 }
 /**
  * Exposes the protected check method.
  *
  * @return  void
  *
  * @since   11.1
  */
 public function check()
 {
     return parent::check();
 }