public static String quoteStringLiteral(String string)
    {
        return "'" + string.replace("'", "''") + "'";
    }
@Test
    public void testQuote()
    {
        assertEquals("'foo'", quoteStringLiteral("foo"));
        assertEquals("'Presto''s'", quoteStringLiteral("Presto's"));
    }