testURL("https://employee@gh.company.com/jenkinsci/jenkins", "gh.company.com", "jenkinsci", "jenkins");
}
@Test
public void gitAtUrlGitHubTrailingSlash() {
GitHubRepositoryName repo = GitHubRepositoryName
.create("git@github.com:jenkinsci/jenkins/");
assertNotNull(repo);
assertEquals("jenkinsci", repo.userName);
assertEquals("jenkins", repo.repositoryName);
assertEquals("github.com", repo.host);