### Question:
JavaFileProjectResourcePathResolver implements ModuleResourcePathResolver { @Override public Path resolveDefaultPath(Package pkg) { return pkg.getPackageMainSrcPath(); } JavaFileProjectResourcePathResolver(); @Override int getPriority(); @Override boolean accept(String resourceType); @Override Path resolveDefaultPath(Package pkg);  }### Answer:
@Test public void testResolveByDefaultPath() { assertEquals( packageMainSrcPath, resolver.resolveDefaultPath( pkg ) ); verify( pkg, times( 1 ) ).getPackageMainSrcPath(); }