@Override
    public String getURL() {
        return url;
    }
@Test
    public void changeSetEntry() throws Exception {
        MultiBranchProject project = mock(MultiBranchProject.class);
        Job job = mock(MockJob.class);
        Run run = mock(Run.class);
        ChangeLogSet logSet = mock(ChangeLogSet.class);
        ChangeLogSet.Entry entry = mock(ChangeLogSet.Entry.class);

        when(project.getProperties()).thenReturn(new DescribableList(project));
        when(entry.getParent()).thenReturn(logSet);
        when(logSet.getRun()).thenReturn(run);
        when(run.getParent()).thenReturn(job);
        when(job.getParent()).thenReturn(project);

        GitHubSCMSource source = new GitHubSCMSource("foo", null, null, null, "example", "repo");
        when(project.getSCMSources()).thenReturn(Collections.singletonList(source));

        when(entry.getMsg()).thenReturn("Closed #123 #124");

        Collection<BlueIssue> resolved = BlueIssueFactory.resolve(entry);
        Assert.assertEquals(2, resolved.size());

        Map<String, BlueIssue> issueMap = resolved.stream()
            .collect(Collectors.toMap(BlueIssue::getId,blueIssue -> blueIssue));

        BlueIssue issue123 = issueMap.get("#123");
        Assert.assertEquals("https://github.com/example/repo/issues/123", issue123.getURL());

        BlueIssue issue124 = issueMap.get("#124");
        Assert.assertEquals("https://github.com/example/repo/issues/124", issue124.getURL());
    }