void () { MavenArchetype mavenArchetype = new MavenArchetype("myGroup", "myArtifact", "666", null, null); MavenIndicesManager.addArchetype(mavenArchetype); assertArchetypeExists("myGroup:myArtifact:666"); }