PHP Class PayPal\Test\Api\CaptureTest

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

Public Methods

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

Method Details

getJson() public static method

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

getObject() public static method

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

mockProvider() public method

public mockProvider ( )

testGet() public method

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

testGetters() public method

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

testRefund() public method

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

testSerializationDeserialization() public method

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