/**
  * Tests the withStructure method.
  *
  * @return  void
  *
  * @since   12.1
  */
 public function testWithStructure()
 {
     $instance = new JDatabaseImporterPostgresqlInspector();
     $result = $instance->withStructure();
     $this->assertThat($result, $this->identicalTo($instance), 'withStructure must return an object to support chaining.');
     $this->assertThat($instance->options->withStructure, $this->isTrue(), 'The default use of withStructure should result in true.');
     $instance->withStructure(true);
     $this->assertThat($instance->options->withStructure, $this->isTrue(), 'The explicit use of withStructure with true should result in true.');
     $instance->withStructure(false);
     $this->assertThat($instance->options->withStructure, $this->isFalse(), 'The explicit use of withStructure with false should result in false.');
 }