| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function testReplies(): void |
||
| 11 | { |
||
| 12 | $replyAggregator = new ReplyAggregator(); |
||
| 13 | $replyAggregator->clear(); |
||
| 14 | $replyAggregator->storeReply('foo'); |
||
| 15 | $replyAggregator->storeReply('bar'); |
||
| 16 | $this->assertEquals(['foo', 'bar'], $replyAggregator->getReplies()); |
||
| 17 | $replyAggregator->clear(); |
||
| 18 | $this->assertEquals([], $replyAggregator->getReplies()); |
||
| 19 | } |
||
| 21 |