Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
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 | } |
||
34 |