PayPal\Test\Functional\Api\BillingPlansFunctionalTest::testGet PHP Method

testGet() public method

public testGet ( $plan ) : PayPal\Api\Plan
$plan Plan
return PayPal\Api\Plan
    public function testGet($plan)
    {
        $result = Plan::get($plan->getId(), $this->apiContext, $this->mockPayPalRestCall);
        $this->assertNotNull($result);
        $this->assertEquals($plan->getId(), $result->getId());
        $this->assertEquals($plan, $result, "", 0, 10, true);
        return $result;
    }