@Override
  public URL getLocalArtifactUrl(DependencyJar dependency) {
    return delegate.getLocalArtifactUrl(dependency);
  }
@Test
  public void whenRobolectricDependencyDirProperty() throws Exception {
    Path jarsPath = tempDirectory.create("jars");
    Path sdkJarPath = tempDirectory.createFile("jars/android-all-" + VERSION + ".jar", "...");

    properties.setProperty("robolectric.dependency.dir", jarsPath.toString());

    DependencyResolver resolver = new LegacyDependencyResolver(properties, mockClassLoader);

    URL jarUrl = resolver.getLocalArtifactUrl(DEPENDENCY_COORDS);
    assertThat(Fs.fromUrl(jarUrl)).isEqualTo(sdkJarPath);
  }