PHP Class PayPal\Test\Api\TemplatesTest

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

Method Details

getJson() public static method

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

getObject() public static method

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

mockProvider() public method

public mockProvider ( )

testGet() public method

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

testGetAll() public method

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

testGetters() public method

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

testSerializationDeserialization() public method

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