@Test
public void test_get_plugin_url() throws Exception {

    pluginFolder.newFolder("target_dir", "my_plugin").toPath().resolve("index.js").toFile().createNewFile();
    assertThat(new PluginService().getPluginUrl(pluginFolder.getRoot().toPath().resolve("target_dir").resolve("my_plugin"))).
            isEqualTo("/plugins/my_plugin/index.js");
}