Assert.assertNotNull(archetypeCatalogFactory);
ArchetypeCatalog archetypes = archetypeCatalogFactory.getArchetypeCatalog();
Assert.assertNotNull(archetypes);
Assert.assertNotNull(archetypes.getArchetypes());
Assert.assertEquals(1, archetypes.getArchetypes().size());
Archetype expected = new Archetype();
expected.setGroupId("groupId");
expected.setArtifactId("artifactId");
expected.setVersion("1.0.0");
expected.setDescription("Description");
Assert.assertEquals(expected, archetypes.getArchetypes().get(0));
}