assertEquals("\"A \"\"good\"\" idea\"", db.quoteIdentifier("A \"good\" idea"));
}
public void testQuoteIdentifierEscapeMySQL() {
Vendor db = Vendor.MySQL;
assertEquals("`a`", db.quoteIdentifier("a"));
assertEquals("````", db.quoteIdentifier("`"));
assertEquals("`\\\\`", db.quoteIdentifier("\\"));
assertEquals("`Joe``s`", db.quoteIdentifier("Joe`s"));
assertEquals("`\\\\``\\\\``\\\\`", db.quoteIdentifier("\\`\\`\\"));
assertEquals("`'`", db.quoteIdentifier("'"));