JDatabaseQueryTest::testEscapeException

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