@Test
public void testInitRepoNameNotNull() throws IOException {
// GIVEN
GHUser ghUser = mock(GHUser.class);
GHCommitPointer head = mock(GHCommitPointer.class);
GHCommitPointer base = mock(GHCommitPointer.class);
// Mocks for GHPullRequest
given(pr.getNumber()).willReturn(10);
given(pr.getUpdatedAt()).willReturn(new Date());
given(pr.getTitle()).willReturn("title");
given(pr.getHead()).willReturn(head);
given(pr.getBase()).willReturn(base);
given(head.getSha()).willReturn("some sha");
given(base.getRef()).willReturn("some ref");
given(pr.getUser()).willReturn(ghUser);
given(ghUser.getEmail()).willReturn("email");
// Mocks for GhprbRepository
given(repo.getName()).willReturn("name");