p.parse(bpxmlList);
Set<URI> nsuris = p.getNamespaces();
NamespaceHandlerSet nshandlers = nhri.getNamespaceHandlers(nsuris, b);
p.validate(nshandlers.getSchema());
ComponentDefinitionRegistry cdr = new ComponentDefinitionRegistryImpl();
p.populate(nshandlers, cdr);
BeanMetadata compRequiresNew = (BeanMetadata) cdr.getComponentDefinition("requiresNew");
BeanMetadata compNoTx = (BeanMetadata) cdr.getComponentDefinition("noTx");
BeanMetadata compSomeTx = (BeanMetadata) cdr.getComponentDefinition("someTx");
BeanMetadata compAnotherBean = (BeanMetadata) cdr.getComponentDefinition("anotherBean");
assertEquals("RequiresNew", txenhancer.getComponentMethodTxAttribute(compRequiresNew, "doSomething"));
assertEquals("Never", txenhancer.getComponentMethodTxAttribute(compNoTx, "doSomething"));
assertEquals("Required", txenhancer.getComponentMethodTxAttribute(compSomeTx, "doSomething"));
assertEquals("Mandatory", txenhancer.getComponentMethodTxAttribute(compSomeTx, "getRows"));