### Question:
TiddlyWikiTableConfigurationBeanInfo extends SimpleBeanInfo { @Override public PropertyDescriptor[] getPropertyDescriptors() { try { PropertyDescriptor[] s_descr = new PropertyDescriptor[1]; s_descr[0] = new PropertyDescriptor("enabled", TiddlyWikiTableConfiguration.class, "isEnabled", "setEnabled"); return s_descr; } catch (IntrospectionException e) { throw new Error(e); } }  @Override PropertyDescriptor[] getPropertyDescriptors();  }### Answer:
@Test public void testBeanInfo() throws Exception { BeanInfo beanInfo = Introspector.getBeanInfo(TiddlyWikiTableConfiguration.class, Object.class); assertNotNull(beanInfo); assertEquals(1, beanInfo.getPropertyDescriptors().length); assertEquals("enabled", beanInfo.getPropertyDescriptors()[0].getName()); }