DefaultModuleResourcePathResolver implements ModuleResourcePathResolver { @Override public boolean accept(String resourceType) { return true; } DefaultModuleResourcePathResolver(); @Override int getPriority(); @Override boolean accept(String resourceType); @Override Path resolveDefaultPath(Package pkg);  }
@Test public void testAcceptFile() { assertTrue(resolver.accept("txt")); assertTrue(resolver.accept("java")); assertTrue(resolver.accept(null)); assertTrue(resolver.accept("")); }