@Test
public void testAsArray3() {

    ArrayList<Integer> list = new ArrayList<Integer>();
    list.add(new Integer(12));
    list.add(null);
    list.add(new Integer(22));
    list.add(new Integer(42));
    String[] array = RenderKitUtils.asArray(list);
    String[] etalon = new String[] { "12", null, "22", "42" };
    assertTrue(Arrays.equals(etalon, array));
}