596061626364656667
@Autowired QueueChannel testChannel; @Test public void unitTestClass3() { List<String> splits = new CommaDelimitedSplitter().split(" a , b, c "); String out = new CommaDelimitedAggregator().aggregate(splits); assertEquals("a,b,c", out); }
666768697071727374
assertEquals("a,b,c", out); } @Test public void unitTestClass2() { List<String> splits = new CommaDelimitedSplitter().split(" a ,, c "); String out = new CommaDelimitedAggregator().aggregate(splits); assertEquals("a,c", out); }
737475767778798081
assertEquals("a,c", out); } @Test public void unitTestClass0() { List<String> splits = new CommaDelimitedSplitter().split(",,, ,, ,, ,,"); String out = new CommaDelimitedAggregator().aggregate(splits); assertNull(out); }