assertEquals( 4, r.size() );
Iterator<ArtifactInfo> it = r.iterator();
{
ArtifactInfo ai = it.next();
assertEquals( "org.apache.directory.server", ai.groupId );
assertEquals( "apacheds-schema-archetype", ai.artifactId );
assertEquals( "1.0.2", ai.version );
}
{
ArtifactInfo ai = it.next();
assertEquals( "org.apache.servicemix.tooling", ai.groupId );
assertEquals( "servicemix-service-engine", ai.artifactId );
assertEquals( "3.1", ai.version );
}
{
ArtifactInfo ai = it.next();
assertEquals( "org.terracotta.maven.archetypes", ai.groupId );
assertEquals( "pojo-archetype", ai.artifactId );
assertEquals( "1.0.3", ai.version );
}
{
ArtifactInfo ai = it.next();
assertEquals( "proptest", ai.groupId );
assertEquals( "proptest-archetype", ai.artifactId );
assertEquals( "1.0", ai.version );
}
}