| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | 1 | public function testConstructor() |
|
| 12 | { |
||
| 13 | 1 | $identity = new \Promopult\Integra\Credentials('hash', 'key', 'path', 'host'); |
|
| 14 | |||
| 15 | 1 | $this->assertEquals('hash', $identity->getHash()); |
|
| 16 | 1 | $this->assertEquals('key', $identity->getCryptKey()); |
|
| 17 | 1 | $this->assertEquals('path', $identity->getPartnerPath()); |
|
| 18 | 1 | $this->assertEquals('host', $identity->getApiHost()); |
|
| 19 | 1 | } |
|
| 21 |