@Test
public void testThisUserIsOwner() throws IOException {

    GitHubUtil gitHubUtil = mock(GitHubUtil.class);
    DockerfileGitHubUtil dockerfileGitHubUtil = new DockerfileGitHubUtil(gitHubUtil);
    String me = "me";
    GHRepository repo = mock(GHRepository.class);
    when(repo.getOwnerName()).thenReturn(me);
    GHMyself ghMyself = mock(GHMyself.class);
    when(ghMyself.getLogin()).thenReturn(me);
    when(gitHubUtil.getMyself()).thenReturn(ghMyself);
    assertTrue(dockerfileGitHubUtil.thisUserIsOwner(repo));
}