PHP Class PayPal\Test\Api\CaptureTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: paypal/rest-api-sdk-php Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Gets Json String of Object Capture
public static getJson ( ) : string
Résultat string

getObject() public static méthode

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

mockProvider() public méthode

public mockProvider ( )

testGet() public méthode

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

testGetters() public méthode

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

testRefund() public méthode

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

testSerializationDeserialization() public méthode

Tests for Serialization and Deserialization Issues
public testSerializationDeserialization ( ) : Capture
Résultat PayPal\Api\Capture