public void testFileURLAlias() throws Exception {

		assertThat(jbangTempDir.resolve("inner").toFile().mkdirs(), Matchers.is(true));

		Files.copy(examplesTestFolder.resolve("helloworld.java"), jbangTempDir.resolve("inner/helloworld.java"));
		String src = jbangTempDir.resolve("inner/helloworld.java").toString();
		Path path = jbangTempDir.resolve("jbang-catalog.json");

		checkedRun(null, "alias", "add", "-f", path.toString(), "--name=apptest", src);

		String url = "apptest@" + path.toUri();
		assertThat(url, Matchers.stringContainsInOrder("file://"));

		Alias alias = Alias.get(url);

		assertThat(alias.scriptRef, Matchers.equalTo("helloworld.java"));

	}
TODO: use mock to handle https lookups instead of jbang.dev
src/test/java/dev/jbang/TestImplicitAlias.java