assertEquals(6, cp.getContributions().size());
assertSame(cps, cp.getConfigurationPoints());
Iterator<Contribution> i = cp.getContributions().iterator();
Contribution contrib;
// cp1:my1, MyBeanDefinitionParser
contrib = i.next();
MyBeanDefinitionParser c1 = getContributionImplementation(cp, BEAN_DEFINITION_PARSER, "my1",
MyBeanDefinitionParser.class);
assertNotNull(c1);
// cp1:my1, MyBeanDefinitionDecorator
contrib = i.next();
MyBeanDefinitionDecorator c2 = getContributionImplementation(cp, BEAN_DEFINITION_DECORATOR, "my1",
MyBeanDefinitionDecorator.class);
assertNotNull(c2);
assertSame(cp, contrib.getConfigurationPoint());
// cp1:my1, MyBeanDefinitionDecorator
contrib = i.next();
MyBeanDefinitionDecorator c3 = getContributionImplementation(cp, BEAN_DEFINITION_DECORATOR_FOR_ATTRIBUTE,
"my1", MyBeanDefinitionDecorator.class);
assertNotNull(c3);
assertSame(cp, contrib.getConfigurationPoint());
// cp1:my2, MyBeanDefinitionParser2
contrib = i.next();
MyBeanDefinitionParser2 c4 = getContributionImplementation(cp, BEAN_DEFINITION_PARSER, "my2",
MyBeanDefinitionParser2.class);
assertSame(contrib, c4.getContribution());
assertSame(cp, contrib.getConfigurationPoint());
// cp1:my2, MyBeanDefinitionDecorator2
contrib = i.next();
MyBeanDefinitionDecorator2 c5 = getContributionImplementation(cp, BEAN_DEFINITION_DECORATOR, "my2",
MyBeanDefinitionDecorator2.class);
assertSame(contrib, c5.getContribution());
assertSame(cp, contrib.getConfigurationPoint());
// cp1:my2, MyBeanDefinitionDecorator2
contrib = i.next();
MyBeanDefinitionDecorator2 c6 = getContributionImplementation(cp, BEAN_DEFINITION_DECORATOR_FOR_ATTRIBUTE,
"my2", MyBeanDefinitionDecorator2.class);
assertSame(contrib, c6.getContribution());
assertSame(cp, contrib.getConfigurationPoint());
}