2 use PayPal\Core\PPLoggingManager;
4 * Test class for PPLoggingManager.
7 class PPLoggingManagerTest extends \PHPUnit_Framework_TestCase
10 * @var PPLoggingManager
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 PPLoggingManager('InvoiceTest');
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()
34 public function testError()
36 $this->object->error('Test Error Message');
43 public function testWarning()
45 $this->object->warning('Test Warning Message');
51 public function testInfo()
53 $this->object->info('Test info Message');
59 public function testFine()
61 $this->object->fine('Test fine Message');