@@ -0,0 +1,857 @@
+package com.datastax.driver.core;%0A%0Aimport java.util.Collection;%0A%0Aimport com.google.common.collect.Lists;%0Aimport org.testng.annotations.Test;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Apublic class TableMetadataTest extends CCMBridge.PerClassSingleNodeCluster %7B%0A    @Override%0A    protected Collection%3CString%3E getTableDefinitions() %7B%0A        return Lists.newArrayList(%0A            %22CREATE TABLE single_quote (%5Cn%22%0A                + %22    c1 int PRIMARY KEY%5Cn%22%0A                + %22) WITH  comment = 'comment with single quote '' should work'%22%0A        );%0A    %7D%0A%0A    @Test(groups = %22short%22)%0A    public void should_escape_single_quote_table_comment() %7B%0A        TableMetadata table = cluster.getMetadata().getKeyspace(%22ks%22).getTable(%22single_quote%22);%0A        assertThat(table.asCQLQuery()).contains(%22comment with single quote '' should work%22);%0A    %7D%0A%7D

Add test for JAVA-655.