420cd116f3812ea64e06343d6cbbe16c78beae1c
[WP-Plugins/glm-member-db-registrations.git] /
1 <?php
2 use PayPal\Exception\PPConfigurationException;
3 /**
4  * Test class for PPConfigurationException.
5  *
6  */
7 class PPConfigurationExceptionTest extends \PHPUnit_Framework_TestCase
8 {
9     /**
10      * @var PPConfigurationException
11      */
12     protected $object;
13
14     /**
15      * Sets up the fixture, for example, opens a network connection.
16      * This method is called before a test is executed.
17      */
18     protected function setUp()
19     {
20         $this->object = new PPConfigurationException('Test PPConfigurationException');
21     }
22
23     /**
24      * Tears down the fixture, for example, closes a network connection.
25      * This method is called after a test is executed.
26      */
27     protected function tearDown()
28     {
29     }
30     public function testPPConfigurationException()
31     {
32         $this->setExpectedException('PayPal\Exception\PPConfigurationException');
33         throw new PPConfigurationException('Test PPConfigurationException');
34
35     }
36 }
37 ?>