| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 32 | public function testGetSummary() |
||
| 33 | { |
||
| 34 | $object = $this->objFromFixture(ElementAccordion::class, 'one'); |
||
| 35 | $count = $object->Panels()->count(); |
||
| 36 | $this->assertEquals($object->getSummary(), _t( |
||
| 37 | AccordionPanel::class . 'PLURALS', |
||
| 38 | '{count} Accordion Panel|{count} Accordion Panels', |
||
| 39 | [ 'count' => $count ] |
||
| 40 | )); |
||
| 52 |