Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | public function testGetConfigurationValue() |
||
12 | { |
||
13 | $class = new ReflectionClass(RedisQueueStoreConnection::class); |
||
14 | $method = $class->getMethod('getConfigurationValue'); |
||
15 | $method->setAccessible(true); |
||
16 | $host = 'localhost'; |
||
17 | $port = '9367'; |
||
18 | $connection = new RedisQueueStoreConnection([ |
||
19 | 'host' => $host, |
||
20 | 'port' => $port, |
||
21 | ]); |
||
22 | $this->assertEquals($host, $method->invoke($connection, 'host')); |
||
23 | $this->assertEquals($port, $method->invoke($connection, 'port')); |
||
24 | } |
||
25 | public function testConnect() |
||
35 |