JDatabaseQueryTest::testDateFormatException

Tests the JDatabaseQuery::dateFormat method for an expected exception.