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

testGetters() public method

public testGetters ( PayPal\Api\AgreementTransaction $obj )
$obj PayPal\Api\AgreementTransaction
    public function testGetters($obj)
    {
        $this->assertEquals($obj->getTransactionId(), "TestSample");
        $this->assertEquals($obj->getStatus(), "TestSample");
        $this->assertEquals($obj->getTransactionType(), "TestSample");
        $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
        $this->assertEquals($obj->getFeeAmount(), CurrencyTest::getObject());
        $this->assertEquals($obj->getNetAmount(), CurrencyTest::getObject());
        $this->assertEquals($obj->getPayerEmail(), "TestSample");
        $this->assertEquals($obj->getPayerName(), "TestSample");
        $this->assertEquals($obj->getTimeStamp(), "TestSample");
        $this->assertEquals($obj->getTimeZone(), "TestSample");
    }