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