public function testSetPhotoUrl()
 {
     $photoUrl = 'http://www.example.com/photo.jpg';
     $this->user->setPhotoUrl($photoUrl);
     $this->assertSame($photoUrl, $this->user->getPhotoUrl());
 }
 /**
  * @param User $user
  * @param Hybrid_User_Profile $profile
  * @return User
  */
 private function updateLocalUser(User $user, Hybrid_User_Profile $profile)
 {
     $user->setUsername($this->getUsernameFromProfileUrl($profile->profileURL));
     $user->setPhotoUrl($profile->photoURL);
     return $user;
 }