### Question:
Collections { public static <T> T[] array(T... values) { return values; } private  Collections(); static T[] arr(T... values); static T[] array(T... values); static Set<T> set(T... values); static Map<K, V> map(Object... keysAndValues); static List<T> li(T... values); static List<T> list(T... values);  }### Answer:
@Test public void shouldCreateArray(){ String[] ar = Collections.array("John", "James", "Mary", "Keith"); a(ar.length).shouldBeEqual(4); a(ar[0]).shouldBeEqual("John"); a(ar[1]).shouldBeEqual("James"); a(ar[2]).shouldBeEqual("Mary"); a(ar[3]).shouldBeEqual("Keith"); }