public void testNewStrategy() throws Exception {
XMLIntrospector introspector = new XMLIntrospector();
introspector.getConfiguration().setSimpleTypeMapper(new StringsAsElementsSimpleTypeMapper());
introspector.getConfiguration().setWrapCollectionsInElement(true);
XMLBeanInfo beanInfo = introspector.introspect(TuneBean.class);
ElementDescriptor tuneBeanDescriptor = beanInfo.getElementDescriptor();
AttributeDescriptor[] tuneBeanAttributes = tuneBeanDescriptor.getAttributeDescriptors();
assertEquals("Only expect one attribute", 1, tuneBeanAttributes.length);
AttributeDescriptor recordedAttribute = tuneBeanAttributes[0];