forked from LiveCarta/PayPal-PHP-SDK
Payments API Updates
This commit is contained in:
@@ -13,6 +13,7 @@ class NameValuePairTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* Gets Json String of Object NameValuePair
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function getJson()
|
||||
@@ -22,6 +23,7 @@ class NameValuePairTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* Gets Object Instance with Json data filled in
|
||||
*
|
||||
* @return NameValuePair
|
||||
*/
|
||||
public static function getObject()
|
||||
@@ -32,6 +34,7 @@ class NameValuePairTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* Tests for Serialization and Deserialization Issues
|
||||
*
|
||||
* @return NameValuePair
|
||||
*/
|
||||
public function testSerializationDeserialization()
|
||||
@@ -54,4 +57,5 @@ class NameValuePairTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertEquals($obj->getValue(), "TestSample");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user