public function testDelete($createProfileResponse) { $webProfile = new WebProfile(); $webProfile->setId($createProfileResponse->getId()); $result = $webProfile->delete($this->apiContext, $this->mockPayPalRestCall); $this->assertTrue($result); }