5285ed842236fd69df08fc5ade1b68fe87bd05ed
[WP-Plugins/glm-member-db.git] /
1 <?php
2 use PayPal\Core\PPLoggingManager;
3 /**
4  * Test class for PPLoggingManager.
5  *
6  */
7 class PPLoggingManagerTest extends \PHPUnit_Framework_TestCase
8 {
9     /**
10      * @var PPLoggingManager
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 PPLoggingManager('InvoiceTest');
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
31     /**
32      * @test
33      */
34     public function testError()
35     {
36          $this->object->error('Test Error Message');
37
38     }
39
40     /**
41      * @test
42      */
43     public function testWarning()
44     {
45          $this->object->warning('Test Warning Message');
46     }
47
48     /**
49      * @test
50      */
51     public function testInfo()
52     {
53         $this->object->info('Test info Message');
54     }
55
56     /**
57      * @test
58      */
59     public function testFine()
60     {
61        $this->object->fine('Test fine Message');
62     }
63 }
64 ?>