@Test
public void testConvertIntegerListToIntArray() throws Exception {

    int[] a = {1, 2, 3};
    List<Integer> l = new ArrayList<>();
    for (int temp : a) {
        l.add(new Integer(temp));
    }
    assertArrayEquals(a, Helper.convertIntegerListToIntArray(l));
}