@Test
 public void updateFails_userCannotBeFound() throws Exception {
   PlayerProfileUpdateResponse response =
       underTest.update(
           createUserProfile("*****@*****.**", "TestRealName", "TestDisplayName"), "foo", "anAvatarURL");
   assertFalse(response.isSuccessful());
   assertEquals(1, response.getErrors().size());
 }
 @Test
 public void updateFails_userProfileNotValid() throws Exception {
   String email = "*****@*****.**";
   PlayerProfile profile = createUserProfile(email, "TestRealName", "TestDisplayName");
   when(playerValidator.validate(email, null, profile, "anAvatarURL", false))
       .thenReturn(nonEmptyErrorSet());
   PlayerProfileUpdateResponse response = underTest.update(profile, null, "anAvatarURL");
   assertFalse(response.isSuccessful());
   assertEquals(1, response.getErrors().size());
 }
 @Test
 public void theUpdaterDoesNotAcceptPlayForFunProfiles() {
   assertThat(underTest.accepts("PLAY_FOR_FUN"), is(equalTo(false)));
 }
 @Test
 public void theUpdaterDoesNotAcceptFacebookProfiles() {
   assertThat(underTest.accepts("FACEBOOK"), is(equalTo(false)));
 }
 @Test
 public void theUpdaterDoesNotAcceptNullProviders() {
   assertThat(underTest.accepts(null), is(equalTo(false)));
 }
 @Test
 public void theUpdaterDoesAcceptsYazinoProfiles() {
   assertThat(underTest.accepts("YAZINO"), is(equalTo(true)));
 }