PHP Class PayPal\Test\Api\SaleTest

Inheritance: extends PHPUnit_Framework_TestCase
Mostra file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

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

Method Details

getJson() public static method

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

getObject() public static method

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

mockProvider() public method

public mockProvider ( )

testGet() public method

public testGet ( Sale $obj, $mockApiContext )
$obj PayPal\Api\Sale

testGetters() public method

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

testRefund() public method

public testRefund ( Sale $obj, $mockApiContext )
$obj PayPal\Api\Sale

testSerializationDeserialization() public method

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