PHP Class PayPal\Test\Api\WebhookTest

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

Public Methods

Method 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 method

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

getObject() public static method

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

mockProvider() public method

public mockProvider ( )

testCreate() public method

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

testDelete() public method

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

testGet() public method

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

testGetAll() public method

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

testGetters() public method

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

testSerializationDeserialization() public method

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

testUpdate() public method

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

testUrlValidationForUrl() public method