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