| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function testResolveValueException(): void |
||
| 30 | { |
||
| 31 | $this->expectException(ContextException::class); |
||
| 32 | |||
| 33 | $context = new ViewContext(); |
||
| 34 | $context = $context->withDependency(new ValueDependency('test', 'value')); |
||
| 35 | |||
| 36 | $this->assertSame('value', $context->resolveValue('other')); |
||
| 37 | } |
||
| 39 |