  @Test
  public void testURLWithSpace() throws MalformedURLException {

    // setup:
    URL url = new URL("file:///With%20Space/File.jar");
    // exercise:
    String actual = (new FileProvider()).filePathFromURL(url);
    // verify:
    assertThat(
        actual,
        PlatformUtil.onWindows()
            ? matchesPattern("\\A/[A-Z]:/With Space/File\\.jar\\z")
            : equalTo("/With Space/File.jar"));
  }