public void testArrayMapping() throws Exception {
ReadContext context = new ReadContext(
new BindingConfiguration(),
new ReadConfiguration());
context.pushElement("LibraryBeanWithArraySetter");
context.markClassMap(LibraryBeanWithArraySetter.class);
context.pushElement("books");
ActionMappingStrategy strategy = ActionMappingStrategy.DEFAULT;
MappingAction action = strategy.getMappingAction("", "books", new AttributesImpl(), context);