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

testGetters() public method

public testGetters ( Metadata $obj )
$obj PayPal\Api\Metadata
    public function testGetters($obj)
    {
        $this->assertEquals($obj->getCreatedDate(), "TestSample");
        $this->assertEquals($obj->getCreatedBy(), "TestSample");
        $this->assertEquals($obj->getCancelledDate(), "TestSample");
        $this->assertEquals($obj->getCancelledBy(), "TestSample");
        $this->assertEquals($obj->getLastUpdatedDate(), "TestSample");
        $this->assertEquals($obj->getLastUpdatedBy(), "TestSample");
        $this->assertEquals($obj->getFirstSentDate(), "TestSample");
        $this->assertEquals($obj->getLastSentDate(), "TestSample");
        $this->assertEquals($obj->getLastSentBy(), "TestSample");
        $this->assertEquals($obj->getPayerViewUrl(), "http://www.google.com");
    }