PHP Class PayPal\Test\Api\WebhookTest

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

Method Details

getJson() public static méthode

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

getObject() public static méthode

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

mockProvider() public méthode

public mockProvider ( )

testCreate() public méthode

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

testDelete() public méthode

public testDelete ( Webhook $obj, $mockApiContext )
$obj PayPal\Api\Webhook

testGet() public méthode

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

testGetAll() public méthode

public testGetAll ( Webhook $obj, $mockApiContext )
$obj PayPal\Api\Webhook

testGetters() public méthode

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

testSerializationDeserialization() public méthode

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

testUpdate() public méthode

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

testUrlValidationForUrl() public méthode