/**
	 * Tests the delete property in JDatabaseQuery::__toString method.
	 *
	 * @return  void
	 *
	 * @covers  JDatabaseQuery::__toString
	 * @since   12.3
	 */
	public function testDelete__toString()
	{
		$this->_instance->delete('#__foo')
			->innerJoin('join')
			->where('bar=1');

		$this->assertEquals(
			implode(PHP_EOL, array('DELETE ', 'FROM #__foo', 'INNER JOIN join', 'WHERE bar=1')),
			trim($this->_instance)
		);
	}