private void validateDroolsCamel(final MavenArtifact artifact) {
assertEquals(2, artifact.getChild().size());
final Iterator<MavenArtifact> droolsCamelChildIterator = artifact.getChild().iterator();
final MavenArtifact shouldBeSpringAOP = droolsCamelChildIterator.next();
assertEquals(new MavenArtifact("org.springframework:spring-aop:jar:2.5.6:compile"), shouldBeSpringAOP);
assertEquals(0, shouldBeSpringAOP.getChild().size());
final MavenArtifact shouldBeCxfRtFrontendJaxws = droolsCamelChildIterator.next();
assertEquals(new MavenArtifact("org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.4.4:compile"), shouldBeCxfRtFrontendJaxws);
assertEquals(2, shouldBeCxfRtFrontendJaxws.getChild().size());
final Iterator<MavenArtifact> cxfRtFrontendJaxwsChildIterator = shouldBeCxfRtFrontendJaxws.getChild().iterator();
final MavenArtifact shouldXmlResolver = cxfRtFrontendJaxwsChildIterator.next();
assertEquals(new MavenArtifact("xml-resolver:xml-resolver:jar:1.2:compile"), shouldXmlResolver);
assertEquals(2, shouldXmlResolver.getChild().size());
final Iterator<MavenArtifact> xmlResolverChildIterator = shouldXmlResolver.getChild().iterator();
final MavenArtifact shouldCxfToolsCommon = xmlResolverChildIterator.next();
assertEquals(new MavenArtifact("org.apache.cxf:cxf-tools-common:jar:2.4.4:compile"), shouldCxfToolsCommon);
assertEquals(0, shouldCxfToolsCommon.getChild().size());
final MavenArtifact shouldcxfRtDatabindingJaxb = xmlResolverChildIterator.next();
assertEquals(new MavenArtifact("org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.4.4:compile"), shouldcxfRtDatabindingJaxb);
assertEquals(0, shouldcxfRtDatabindingJaxb.getChild().size());
final MavenArtifact shouldJbossSomething = cxfRtFrontendJaxwsChildIterator.next();
assertEquals(new MavenArtifact("org.jboss:something:jar:2.4.4:compile"), shouldJbossSomething);
assertEquals(0, shouldJbossSomething.getChild().size());
}