SqlStrings { public static StringBuilder join(long... objects) { StringBuilder streamList = new StringBuilder(); for (int i = 0; i < objects.length; i++) { if (i > 0) streamList.append(", "); streamList.append(objects[i]); } return streamList; }  static StringBuilder join(long... objects); static StringBuilder join(byte[]... objects); static StringBuilder join(ObjectType... types); static StringBuilder join(Enum... types);  }
@Test public void ensureJoinWorksWithLongArray() { long[] test = {1L, 2L}; assertEquals("1, 2", SqlStrings.join(test).toString()); }