### Question:
ProjectUtils { public static List<String> getSitePackages(final PluginContext context) { final File folder = getSiteJavaFolder(context); final Path path = Paths.get(folder.getAbsolutePath()); try { final PackageVisitor visitor = new PackageVisitor(); Files.walkFileTree(path, visitor); final Collection<String> packages = visitor.getPackages(); final List<String> packageList = new ArrayList<>(packages); Collections.sort(packageList); return packageList; } catch (IOException e) { log.error("Error walking tree", e); } return Collections.emptyList(); } private  ProjectUtils(); static List<String> getSitePackages(final PluginContext context); static File getSiteJavaFolder(final PluginContext context); static File getSiteImagesFolder(final PluginContext context); static File getSite(final PluginContext context); static String getBaseProjectDirectory(); static String getEssentialsFolderName(); static File getSiteJspFolder(final PluginContext context); static File getCms(final PluginContext context); static File getBootstrapConfigFolder(final PluginContext context); static File getBootstrapContentFolder(final PluginContext context); static File getEssentialsFolderName(final PluginContext context); static File getEssentialsResourcesFolder(); static File getProjectRootFolder(); static File getBootstrapFolder(final PluginContext context); static Model getPomModel(final PluginContext context, final TargetPom targetPom); static WebXml readWebXmlFile(final String path); static String getPomPath(final PluginContext context, final TargetPom targetPom); static String getWebXmlPath(final PluginContext context, final TargetPom targetPom); static final String ENT_GROUP_ID; static final String ENT_ARTIFACT_ID; }### Answer:
@Test public void testSitePackages() throws Exception { final List<String> sitePackages = ProjectUtils.getSitePackages(getContext()); assertTrue(sitePackages.size() > 8); assertTrue(sitePackages.contains("org")); assertTrue(sitePackages.contains("org.dummy")); }