/**
	 * Tests the JDatabaseQuery::dateFormat method for an expected exception.
	 *
	 * @return  void
	 *
	 * @covers             JDatabaseQuery::dateFormat
	 * @expectedException  RuntimeException
	 * @since              11.3
	 */
	public function testDateFormatException()
	{
		// Override the internal database for testing.
		$this->_instance->db = new stdClass;

		$this->_instance->dateFormat();
	}
 /**
  * Tests the JDatabaseQuery::dateFormat method for an expected exception.
  *
  * @return  void
  *
  * @covers             JDatabaseQuery::dateFormat
  * @expectedException  RuntimeException
  * @since              11.3
  */
 public function testDateFormatException()
 {
     // Override the internal database for testing.
     TestReflection::setValue($this->_instance, 'db', new stdClass());
     $this->_instance->dateFormat();
 }