DefaultModuleResourcePathResolver implements ModuleResourcePathResolver { @Override public Path resolveDefaultPath(Package pkg) { return pkg.getPackageMainResourcesPath(); } DefaultModuleResourcePathResolver(); @Override int getPriority(); @Override boolean accept(String resourceType); @Override Path resolveDefaultPath(Package pkg);  }
@Test public void testResolveByDefaultPath() { assertEquals(packageMainResourcesPath, resolver.resolveDefaultPath(pkg)); verify(pkg, times(1)).getPackageMainResourcesPath(); }