JDatabaseQueryTest::testQuoteNameException

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