    @Test
    public void testGenerics() throws Exception {

        Map<String, PropertyDescriptor> properties =
            BeanAnalyzer.getAllProperties(new GenericType(IntGenerics.class));
        PropertyDescriptor value = properties.get("value");
        assertEquals(Integer.class, value.getPropertyType());
        assertEquals(Integer.class, value.getReadMethod().getReturnType());
        assertEquals(Integer.class, value.getWriteMethod().getParameterTypes()[0]);
    }