Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class ProxyTest extends TestCase |
||
11 | { |
||
12 | public function testGet(): void |
||
13 | { |
||
14 | $handler = new ProxyHandler(); |
||
15 | $proxied = new Proxied(); |
||
16 | $proxy = new Proxy($proxied, $handler); |
||
17 | |||
18 | $proxy->number1; |
||
|
|||
19 | |||
20 | $this->assertEquals(['get', 'number1', $proxied], end($handler->calls)); |
||
21 | } |
||
22 | |||
23 | public function testSet(): void |
||
32 | } |
||
33 | |||
34 | public function testCall(): void |
||
43 | } |
||
44 | } |
||
45 |