@Test(enabled = false, description = "String literal escaping is not properly done yet") //todo [anistor] fix disabled test
public void testStringEscape() throws Exception {
QueryFactory qf = Search.getQueryFactory(remoteCache);
// all transactions that have a given description. the description contains characters that need to be escaped.
Query q = qf.from(Account.class)
.having("description").eq("John Doe's first bank account")
.toBuilder().build();
List<Account> list = q.list();
assertEquals(1, list.size());