PHP Class PayPal\Test\Api\WebhookEventTypeTest

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

Public Methods

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

Method Details

getJson() public static method

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

getObject() public static method

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

mockProvider() public method

public mockProvider ( )

testAvailableEventTypes() public method

public testAvailableEventTypes ( WebhookEventType $obj, $mockApiContext )
$obj PayPal\Api\WebhookEventType

testGetters() public method

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

testSerializationDeserialization() public method

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

testSubscribedEventTypes() public method

public testSubscribedEventTypes ( WebhookEventType $obj, $mockApiContext )
$obj PayPal\Api\WebhookEventType