Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class IpagTest extends TestCase |
||
11 | { |
||
12 | public function testCreateAndSetAuthentication() |
||
13 | { |
||
14 | $ipag = new Ipag(new Authentication('[email protected]'), Endpoint::SANDBOX); |
||
15 | |||
16 | $this->assertEquals('[email protected]', $ipag->getAuthentication()->getIdentification()); |
||
17 | |||
18 | $ipag->setAuthentication(new Authentication('[email protected]')); |
||
19 | |||
20 | $this->assertEquals('[email protected]', $ipag->getAuthentication()->getIdentification()); |
||
21 | } |
||
22 | |||
23 | public function testSetEndpointAfterCreate() |
||
32 | } |
||
33 | } |
||
34 |