| Conditions | 2 |
| Paths | 5 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | private function assertAuthPropertyValue(Redis $check, string $auth) |
||
| 38 | { |
||
| 39 | try { |
||
| 40 | $refClass = new ReflectionClass($check); |
||
| 41 | $authProp = $refClass->getProperty('auth'); |
||
| 42 | $authProp->setAccessible(true); |
||
| 43 | self::assertSame($auth, $authProp->getValue($check)); |
||
| 44 | } catch (ReflectionException $e) { |
||
| 45 | self::fail($e->getMessage()); |
||
| 46 | } |
||
| 47 | } |
||
| 48 | |||
| 57 |