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