PayPal\Test\Functional\Api\WebProfileFunctionalTest::testDelete PHP Method

testDelete() public method

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