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

testCreate() public method

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