@Test
public void test_get_base_directory_with_github_version() throws Exception {

    assertThat(new Plugin("id", "name", "1.2.3", "", new URL("https://github.com/foo/bar"))
            .getBasePath().toString())
            .isEqualTo("id-1.2.3");
}