forked from LiveCarta/PayPal-PHP-SDK
- Updated Api to enabled EC Parameters - Updated Tests - Updated Logging Manager - Added a feature to do validation on accessors.
39 lines
882 B
PHP
39 lines
882 B
PHP
<?php
|
|
use PayPal\Exception\PPConfigurationException;
|
|
|
|
/**
|
|
* Test class for PPConfigurationException.
|
|
*
|
|
*/
|
|
class PPConfigurationExceptionTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @var PPConfigurationException
|
|
*/
|
|
protected $object;
|
|
|
|
/**
|
|
* Sets up the fixture, for example, opens a network connection.
|
|
* This method is called before a test is executed.
|
|
*/
|
|
protected function setUp()
|
|
{
|
|
$this->object = new PPConfigurationException('Test PPConfigurationException');
|
|
}
|
|
|
|
/**
|
|
* Tears down the fixture, for example, closes a network connection.
|
|
* This method is called after a test is executed.
|
|
*/
|
|
protected function tearDown()
|
|
{
|
|
}
|
|
|
|
public function testPPConfigurationException()
|
|
{
|
|
$this->assertEquals('Test PPConfigurationException', $this->object->getMessage());
|
|
}
|
|
}
|
|
|
|
?>
|