| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function testArrayAccess() |
||
| 28 | { |
||
| 29 | $array = new \ArrayObject(); |
||
| 30 | $source1 = new Sources\InputArray($array, 'tester'); |
||
| 31 | $this->assertEmpty('', (string) $source1); |
||
| 32 | |||
| 33 | $array->offsetSet('tester', '//abc/def//ghi/jkl'); |
||
| 34 | $source2 = new Sources\InputArray($array, 'tester'); |
||
| 35 | $this->assertEquals('/abc/def//ghi/jkl', (string) $source2); |
||
| 36 | } |
||
| 38 |