/**
  * Tests the asXml method.
  */
 public function testAsXml()
 {
     $instance = new JDatabaseExporterPostgresql();
     $result = $instance->asXml();
     $this->assertSame($instance, $result, 'asXml must return an object to support chaining.');
     $this->assertAttributeEquals('xml', 'asFormat', $instance, 'The asXml method should set the protected asFormat property to "xml".');
 }
 /**
  * Tests the asXml method.
  *
  * @return void
  *
  * @since  12.1
  */
 public function testAsXml()
 {
     $instance = new JDatabaseExporterPostgresql();
     $result = $instance->asXml();
     $this->assertThat($result, $this->identicalTo($instance), 'asXml must return an object to support chaining.');
     $this->assertThat(TestReflection::getValue($instance, 'asFormat'), $this->equalTo('xml'), 'The asXml method should set the protected asFormat property to "xml".');
 }