PHP Class PayPal\Test\Api\ErrorTest

Inheritance: extends PHPUnit_Framework_TestCase
显示文件 Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getJson ( ) : string Gets Json String of Object Error
getObject ( ) : Error Gets Object Instance with Json data filled in
testGetters ( Error $obj )
testSerializationDeserialization ( ) : Error Tests for Serialization and Deserialization Issues

Method Details

getJson() public static method

Gets Json String of Object Error
public static getJson ( ) : string
return string

getObject() public static method

Gets Object Instance with Json data filled in
public static getObject ( ) : Error
return PayPal\Api\Error

testGetters() public method

public testGetters ( Error $obj )
$obj PayPal\Api\Error

testSerializationDeserialization() public method

Tests for Serialization and Deserialization Issues
public testSerializationDeserialization ( ) : Error
return PayPal\Api\Error