@Test
public void testStrJoin() throws ParseException, RepositoryException {
/* unique test, sets up it's own data */
String[] lits = new String[] {UUID.randomUUID().toString(), UUID.randomUUID().toString(), UUID.randomUUID().toString()};
SailRepositoryConnection con = repository.getConnection();
con.begin();
con.remove(subject, predicate, null);
for (int i = 0; i < lits.length; i++) {
con.add(con.getValueFactory().createStatement(subject, predicate, con.getValueFactory().createLiteral(lits[i])));
}
con.commit();
con.close();
String[] seps = {"###", ", "};
String[] pres = {"", ":start:"};
String[] sufs = {"", ":eol:"};