BootiqueUtils { static String[] toArray(Collection<String> collection) { return collection.toArray(new String[0]); } private  BootiqueUtils();   }
@Test public void testToArray() { assertArrayEquals(new String[]{}, BootiqueUtils.toArray(Collections.emptyList())); assertArrayEquals(new String[]{"a", "b", "c"}, BootiqueUtils.toArray(asList("a", "b", "c"))); }