2 use PayPal\Exception\PPConfigurationException;
4 * Test class for PPConfigurationException.
7 class PPConfigurationExceptionTest extends \PHPUnit_Framework_TestCase
10 * @var PPConfigurationException
15 * Sets up the fixture, for example, opens a network connection.
16 * This method is called before a test is executed.
18 protected function setUp()
20 $this->object = new PPConfigurationException('Test PPConfigurationException');
24 * Tears down the fixture, for example, closes a network connection.
25 * This method is called after a test is executed.
27 protected function tearDown()
30 public function testPPConfigurationException()
32 $this->setExpectedException('PayPal\Exception\PPConfigurationException');
33 throw new PPConfigurationException('Test PPConfigurationException');