| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function originalStoreIsWrappedInRetryStore(): void |
||
| 29 | { |
||
| 30 | $callback = fn () => $this->originalStore; |
||
| 31 | |||
| 32 | $result = ($this->delegator)(new ServiceManager(), '', $callback); |
||
| 33 | |||
| 34 | $ref = new ReflectionObject($result); |
||
| 35 | $prop = $ref->getProperty('decorated'); |
||
| 36 | $prop->setAccessible(true); |
||
| 37 | |||
| 38 | $this->assertSame($this->originalStore, $prop->getValue($result)); |
||
| 39 | } |
||
| 41 |