@Override
  public URL getLocalArtifactUrl(DependencyJar dependency) {
    return delegate.getLocalArtifactUrl(dependency);
  }
@Test
  public void whenNoPropertiesOrResourceFile() throws Exception {
    when(mockClassLoader.getResource("robolectric-deps.properties")).thenReturn(null);
    when(mockClassLoader.loadClass("org.robolectric.internal.dependency.MavenDependencyResolver"))
        .thenReturn((Class) FakeMavenDependencyResolver.class);

    DependencyResolver resolver = new LegacyDependencyResolver(properties, mockClassLoader);

    URL jarUrl = resolver.getLocalArtifactUrl(DEPENDENCY_COORDS);
    assertThat(Fs.fromUrl(jarUrl)).isEqualTo(Paths.get("/some/fake/file.jar").toAbsolutePath());
  }