### Question:
ArrayUtils { public static <T> List<T> asList(T[] aArray) { return new ArrayList<>(Arrays.asList(aArray)); }  static List<T> asList(T[] aArray);  }### Answer:
@Test public void testAsList() throws Exception { String[] theData = new String[] {"hallo"}; List<String> theList = ArrayUtils.asList(theData); assertEquals(1, theList.size()); assertEquals("hallo", theList.get(0)); }