@Test public void locate_not_supported() { thrown.expect(UnsupportedOperationException.class); ResourceLocation location = ResourceLocation.create("/com/sonar/orchestrator/locator/ResourceLocatorTest/foo.txt"); resourceLocator.locate(location); }
@Override public File locate(ResourceLocation location) { throw new UnsupportedOperationException(); }
ResourceLocator implements Locator<ResourceLocation> { @Override public File locate(ResourceLocation location) { throw new UnsupportedOperationException(); } }
ResourceLocator implements Locator<ResourceLocation> { @Override public File locate(ResourceLocation location) { throw new UnsupportedOperationException(); }  }
ResourceLocator implements Locator<ResourceLocation> { @Override public File locate(ResourceLocation location) { throw new UnsupportedOperationException(); }  @Override File locate(ResourceLocation location); @Override File copyToDirectory(ResourceLocation location, File toDir); @Override InputStream openInputStream(ResourceLocation location); @Override File copyToFile(ResourceLocation location, File toFile); }
ResourceLocator implements Locator<ResourceLocation> { @Override public File locate(ResourceLocation location) { throw new UnsupportedOperationException(); }  @Override File locate(ResourceLocation location); @Override File copyToDirectory(ResourceLocation location, File toDir); @Override InputStream openInputStream(ResourceLocation location); @Override File copyToFile(ResourceLocation location, File toFile);  }