    @Test
    public void testAsList_PrimitiveArray() throws Exception {

        int[] input = new int[] {1, 2, 3, 4, 5};
        List<Integer> list = GeneratedAttributeSupport.valueOf(input);
        Assert.assertEquals(5, list.size());
        for (int i = 0; i < 5; i++) {
            Assert.assertEquals(Integer.valueOf(input[i]), list.get(i));
        }

        list.set(2, 7);
        Assert.assertEquals(Integer.valueOf(7), list.get(2));
        Assert.assertEquals(7, input[2]);
    }