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