Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function testMemcacheServerDown(): void |
||
31 | { |
||
32 | $testData = new TestData([ |
||
33 | 'serverStats' => false, |
||
34 | 'host' => 'testhost.example.org', |
||
35 | ]); |
||
36 | $testCase = new TestCase\Store\Memcache\Server($testData); |
||
37 | |||
38 | $testResult = $testCase->getTestResult(); |
||
39 | $this->assertEquals(State::ERROR, $testResult->getState()); |
||
40 | } |
||
42 |