This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/tests/PayPal/Test/Api/TransactionFeeTest.php
2015-02-03 12:19:34 +11:00

19 lines
404 B
PHP

<?php
namespace PayPal\Test\Api;
use PayPal\Api\TransactionFee;
class TransactionFeeTest extends \PHPUnit_Framework_TestCase
{
public function testGetterSetter()
{
$tfee = new TransactionFee();
$tfee->setCurrency('AUD');
$this->assertEquals('AUD', $tfee->getCurrency());
$tfee->setValue('0.10');
$this->assertEquals('0.10', $tfee->getValue());
}
}