### Question:
PackageNameWhiteListServiceImpl implements PackageNameWhiteListService { @Override public Path save(final Path path, final WhiteList content, final Metadata metadata, final String comment) { return saver.save(path, content, metadata, comment); } PackageNameWhiteListServiceImpl(); @Inject  PackageNameWhiteListServiceImpl(final @Named("ioStrategy") IOService ioService,
                                           final KieModuleService moduleService,
                                           final PackageNameWhiteListLoader loader,
                                           final PackageNameWhiteListSaver saver); void createModuleWhiteList(final Path packageNamesWhiteListPath,
                                                            final String initialContent); @Override WhiteList filterPackageNames(final Module module,
                                        final Collection<String> packageNames); @Override WhiteList load(final Path packageNamesWhiteListPath); @Override Path save(final Path path,
                     final WhiteList content,
                     final Metadata metadata,
                     final String comment);  }### Answer:
@Test public void testSave() throws Exception { final PackageNameWhiteListService service = makeService(""); final Path path = mock(Path.class); final WhiteList whiteList = new WhiteList(); final Metadata metadata = new Metadata(); final String comment = "comment"; service.save(path, whiteList, metadata, comment); verify(saver).save(path, whiteList, metadata, comment); }