0b2b592664a6a98268db32c9ccdfc3d52d6367e8
[WP-Plugins/glm-member-db.git] /
1 <?php
2 use PayPal\Core\PPBaseService;
3 /**
4  * Test class for PPBaseService.
5  *
6  */
7 class PPBaseServiceTest extends \PHPUnit_Framework_TestCase
8 {
9     /**
10      * @var PPBaseService
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 PPBaseService('serviceName', 'serviceBinding', null);
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 testGetServiceName()
35     {
36         $this->assertEquals('serviceName',$this->object->getServiceName() );
37     }
38
39
40 }
41 ?>