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

testCreate() public method

public testCreate ( )
    public function testCreate()
    {
        $request = $this->operation['request']['body'];
        $obj = new WebProfile($request);
        $obj->setName(uniqid());
        $result = $obj->create($this->apiContext, $this->mockPayPalRestCall);
        $this->assertNotNull($result);
        return $result;
    }