PHP Class PayPal\Test\Api\WebhookEventTest

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

Public Methods

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

Method Details

getJson() public static method

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

getObject() public static method

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

mockProvider() public method

public mockProvider ( )

testGet() public method

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

testGetters() public method

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

testList() public method

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

testResend() public method

public testResend ( WebhookEvent $obj, $mockApiContext )
$obj PayPal\Api\WebhookEvent

testSerializationDeserialization() public method

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