CombinedBeanInfo { public Map<String, PropertyDescriptor> getMappedDescriptors(Class<?> clazz) { return class2descriptors.get(clazz); } CombinedBeanInfo(Class<?>... clazzes); List<FeatureDescriptor> getDescriptors(); Map<String, PropertyDescriptor> getMappedDescriptors(Class<?> clazz); Set<String> getProperties(Class<?> clazz);  }
@Test public void testGetMappedDescriptors() { assertEquals(requestMap, beanInfo.getMappedDescriptors(Request.class)); assertEquals(applicationMap, beanInfo.getMappedDescriptors(ApplicationContext.class)); }