/**
  * testupdateUserProfile
  */
 public function testUpdateUserProfile()
 {
     $profile = $this->_instance->getUserProfile(Tinebase_Core::getUser()->getId());
     $profileData = $profile['userProfile'];
     $this->assertFalse(array_search('n_prefix', $profileData));
     $profileData['tel_home'] = 'mustnotchange';
     $profileData['email_home'] = '*****@*****.**';
     $this->_instance->updateUserProfile($profileData);
     $updatedProfile = $this->_instance->getUserProfile(Tinebase_Core::getUser()->getId());
     $updatedProfileData = $updatedProfile['userProfile'];
     $this->assertNotEquals('mustnotchange', $updatedProfileData['tel_home']);
     $this->assertEquals('*****@*****.**', $updatedProfileData['email_home']);
 }