| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class ContextTest extends TestCase |
||
| 20 | { |
||
| 21 | public function testResolveValue(): void |
||
| 22 | { |
||
| 23 | $context = new ViewContext(); |
||
| 24 | $context = $context->withDependency(new ValueDependency('test', 'value')); |
||
| 25 | |||
| 26 | $this->assertSame('value', $context->resolveValue('test')); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function testResolveValueException(): void |
||
| 37 | } |
||
| 38 | } |
||
| 39 |