@Test
public void computeJarPathFromURLWithExclamationMark() throws Exception {

    onlyForNonWindows();
    final URL url = new URL("jar:file://"+Paths.get("/some/path/to/file.jar").toAbsolutePath().toString()+"!/some/inner/thing.class");
    final Path jarPath = AntennaUtils.getJarPath(url);
    assertThat(jarPath).hasToString("/some/path/to/file.jar");
}