document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. @Test
  2. public void testFoo() throws Exception {
  3.     List<String> l = Arrays.asList("a", "b", "c");
  4.     assertEquals("[a],[b],[c]", l.stream().map(v->String.format("[%s]", v)).collect(Collectors.joining(",")));
  5. }
');