PayPal\Test\Api\FundingInstrumentTest::testGetters PHP Method

testGetters() public method

public testGetters ( FundingInstrument $obj )
$obj PayPal\Api\FundingInstrument
    public function testGetters($obj)
    {
        $this->assertEquals($obj->getCreditCard(), CreditCardTest::getObject());
        $this->assertEquals($obj->getCreditCardToken(), CreditCardTokenTest::getObject());
        $this->assertEquals($obj->getPaymentCard(), PaymentCardTest::getObject());
        $this->assertEquals($obj->getBankAccount(), ExtendedBankAccountTest::getObject());
        $this->assertEquals($obj->getBankAccountToken(), BankTokenTest::getObject());
        $this->assertEquals($obj->getCredit(), CreditTest::getObject());
        $this->assertEquals($obj->getIncentive(), IncentiveTest::getObject());
        $this->assertEquals($obj->getExternalFunding(), ExternalFundingTest::getObject());
        $this->assertEquals($obj->getCarrierAccountToken(), CarrierAccountTokenTest::getObject());
        $this->assertEquals($obj->getCarrierAccount(), CarrierAccountTest::getObject());
        $this->assertEquals($obj->getPrivateLabelCard(), PrivateLabelCardTest::getObject());
        $this->assertEquals($obj->getBilling(), BillingTest::getObject());
    }