@Test
public void testConsArray() {

  assertArrayEquals(new Integer[]{0, 1, 2, 3}, Arrays.cons(Integer.class, 0, array(1, 2, 3)));
  String[] x = Arrays.cons(String.class, "0", array("1", "2", "3"));
  assertArrayEquals(new String[]{"0", "1", "2", "3"}, x);
  assertArrayEquals(new Object[]{"0", "1", "2", "3"}, x);
}