@Test
public void createOrUpdateMemberProfileOnLogin() {
GitHubUserProfile userProfile =
new GitHubUserProfile(1234L, username, name, location, "", "", email, avatarUrl, null);
UserOperations userOperations = mock(UserOperations.class);
given(userOperations.getUserProfile()).willReturn(userProfile);
given(gitHub.userOperations()).willReturn(userOperations);
signInService.getOrCreateMemberProfile(1234L, gitHub);
verify(teamService).createOrUpdateMemberProfile(1234L, username, avatarUrl, name);