@Override
  public URL getLocalArtifactUrl(DependencyJar dependency) {
    return delegate.getLocalArtifactUrl(dependency);
  }
@Test
  public void whenRobolectricDepsPropertiesResource() throws Exception {
    Path depsPath =
        tempDirectory.createFile(
            "deps.properties", "org.robolectric\\:android-all\\:" + VERSION + ": file-123.jar");

    when(mockClassLoader.getResource("robolectric-deps.properties")).thenReturn(meh(depsPath));
    DependencyResolver resolver = new LegacyDependencyResolver(properties, mockClassLoader);

    URL jarUrl = resolver.getLocalArtifactUrl(DEPENDENCY_COORDS);
    assertThat(Fs.fromUrl(jarUrl).toString()).endsWith("file-123.jar");
  }