PHP Class PayPal\Test\Api\PaymentTest

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 Payment
getObject ( ) : Payment Gets Object Instance with Json data filled in
mockProvider ( )
testCreate ( Payment $obj, $mockApiContext )
testExecute ( Payment $obj, $mockApiContext )
testGet ( Payment $obj, $mockApiContext )
testGetters ( Payment $obj )
testList ( Payment $obj, $mockApiContext )
testSerializationDeserialization ( ) : Payment Tests for Serialization and Deserialization Issues
testUpdate ( Payment $obj, $mockApiContext )

Method Details

getJson() public static méthode

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

getObject() public static méthode

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

mockProvider() public méthode

public mockProvider ( )

testCreate() public méthode

public testCreate ( Payment $obj, $mockApiContext )
$obj PayPal\Api\Payment

testExecute() public méthode

public testExecute ( Payment $obj, $mockApiContext )
$obj PayPal\Api\Payment

testGet() public méthode

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

testGetters() public méthode

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

testList() public méthode

public testList ( Payment $obj, $mockApiContext )
$obj PayPal\Api\Payment

testSerializationDeserialization() public méthode

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

testUpdate() public méthode

public testUpdate ( Payment $obj, $mockApiContext )
$obj PayPal\Api\Payment