@Test
public void testGetForkFromExistingRecordToProcess() {

    String reponame = "reponame";
    DockerfileGitHubUtil dockerfileGitHubUtil = mock(DockerfileGitHubUtil.class);
    GitHubPullRequestSender gitHubPullRequestSender = new GitHubPullRequestSender(dockerfileGitHubUtil, mock(ForkableRepoValidator.class));
    GHRepository fork = mock(GHRepository.class);
    GHRepository parent = mock(GHRepository.class);
    Multimap<String, GitHubContentToProcess> processMultimap = HashMultimap.create();
    processMultimap.put(reponame, new GitHubContentToProcess(fork, parent, "path"));
    assertEquals(gitHubPullRequestSender.getForkFromExistingRecordToProcess(processMultimap, reponame), fork);
}