@Test
public void testAsArray31() {

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