/**
	 * Tests the JDatabaseQuery::dump method.
	 *
	 * @return  void
	 *
	 * @covers  JDatabaseQuery::dump
	 * @since   11.3
	 */
	public function testDump()
	{
		$this->_instance->select('*')
			->from('#__foo');

		$this->assertThat(
			$this->_instance->dump(),
			$this->equalTo(
				'<pre class="jdatabasequery">' .
					PHP_EOL . "SELECT *" . PHP_EOL . "FROM foo" .
					'</pre>'
			),
			'Tests that the dump method replaces the prefix correctly.'
		);
	}