@Test(expectedExceptions = { IllegalArgumentException.class })

public void prepareValueWithException() {
    List<Integer> list = new ArrayList<Integer>();
    list.add(10);
    list.add(null);
    converter.prepareValue("[I",list);
}