| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function appendStringValueUnderSpecifiedIndex(string $index, string $tagValue): void |
||
| 23 | { |
||
| 24 | $tagAppendingProcessor = new TagAppending($index, $tagValue); |
||
| 25 | |||
| 26 | $resultRecord = $tagAppendingProcessor([]); |
||
| 27 | |||
| 28 | $tags = $resultRecord['extra']['tags']; |
||
| 29 | |||
| 30 | $this->assertArrayHasKey($index, $tags); |
||
| 31 | $this->assertEquals($tagValue, $tags[$index]); |
||
| 32 | } |
||
| 33 | |||
| 43 |