@Test
public void fetchProfileExtraWhitespace() {

	UserOperations userOperations = Mockito.mock(UserOperations.class);
	when(github.userOperations()).thenReturn(userOperations);
	when(userOperations.getUserProfile()).thenReturn(createProfile(123456L, "habuma", "Michael    Craig Walls", "Plano, TX", "SpringSource", null, "cwalls@vmware.com", null, null));
	UserProfile profile = apiAdapter.fetchUserProfile(github);
	assertEquals("Michael    Craig Walls", profile.getName());
	assertEquals("Michael", profile.getFirstName());
	assertEquals("Walls", profile.getLastName());
	assertEquals("cwalls@vmware.com", profile.getEmail());
	assertEquals("habuma", profile.getUsername());
}