### Question:
ModuleSaver { public NewModuleCreator createNewModuleCreator(final Path repositoryRoot, final POM pom) { return new NewModuleCreator(pom,repositoryRoot); } ModuleSaver(); @Inject  ModuleSaver(final @Named("ioStrategy") IOService ioService,
                       final POMService pomService,
                       final KModuleService kModuleService,
                       final Event<NewModuleEvent> newModuleEvent,
                       final Event<NewPackageEvent> newPackageEvent,
                       final KieResourceResolver resourceResolver,
                       final ProjectImportsService projectImportsService,
                       final ModuleRepositoriesService moduleRepositoriesService,
                       final PackageNameWhiteListService packageNameWhiteListService,
                       final CommentedOptionFactory commentedOptionFactory,
                       final SessionInfo sessionInfo); KieModule save(final Path repositoryRoot,
                          final POM pom); NewModuleCreator createNewModuleCreator(final Path repositoryRoot, final POM pom);  }### Answer:
@Test public void newModuleCreatorDefaultPackageTest() throws IOException { final POM pom = new POM(); String defaultPackageNameWhiteListEntry = GROUP_ID + ".**"; pom.setName(PROJECT_NAME); pom.getGav().setGroupId(GROUP_ID); pom.getGav().setArtifactId(ARTIFACT_ID); pom.getGav().setVersion(VERSION); runProjecCreationTest(pom); NewModuleCreator newModuleCreator = saver.createNewModuleCreator(null, pom); assertEquals(defaultPackageNameWhiteListEntry, newModuleCreator.defaultPackageNamesWhiteListEntry()); }