/**
  * Exposes the protected withStructure method.
  *
  * @param   boolean	$setting	True to export the structure, false to not.
  *
  * @return  void
  * @since	11.1
  */
 public function withStructure($setting = true)
 {
     return parent::withStructure($setting);
 }
 /**
  * Tests the withStructure method.
  *
  * @return  void
  *
  * @since   11.1
  */
 public function testWithStructure()
 {
     $instance = new JDatabaseExporterMysql();
     $result = $instance->withStructure();
     $this->assertThat($result, $this->identicalTo($instance), 'withStructure must return an object to support chaining.');
     $options = TestReflection::getValue($instance, 'options');
     $this->assertThat($options->withStructure, $this->isTrue(), 'The default use of withStructure should result in true.');
     $instance->withStructure(true);
     $options = TestReflection::getValue($instance, 'options');
     $this->assertThat($options->withStructure, $this->isTrue(), 'The explicit use of withStructure with true should result in true.');
     $instance->withStructure(false);
     $options = TestReflection::getValue($instance, 'options');
     $this->assertThat($options->withStructure, $this->isFalse(), 'The explicit use of withStructure with false should result in false.');
 }