Wrap { public static String quotes(String input) { return Wrap.wrap(input, "\""); }  static String wrap(String input, String token); static Collection<String> wrap(Collection<String> input, String token); static String ticks(String input); static Collection<String> ticks(String... input); static Collection<String> ticks(List<String> input); static String backquotes(String input); static Collection<String> backquotes(String... input); static Collection<String> backquotes(Collection<String> input); static String quotes(String input); static List<String> quotes(String... input); static List<String> quotes(List<String> input);  }
@Test public void testQuotes() { Assert.assertEquals("\"foo\"", Wrap.quotes("foo")); Assert.assertEquals("[\"foo\", \"bar\"]", Wrap.quotes("foo", "bar").toString()); }