示例#1
0
 public function testDeleteProfile()
 {
     $profileId = md5(uniqid());
     $profile = new Profile();
     $profile->setId($profileId);
     $this->validateRequest('delete', '/profiles/' . $profileId . '.json');
     $this->cloud->deleteProfile($profile);
 }
示例#2
0
 /**
  * {@inheritDoc}
  */
 public function deleteProfile(Profile $profile)
 {
     return $this->httpClient->delete('/profiles/' . $profile->getId() . '.json');
 }