| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function testSerializeAll(): void |
||
| 26 | { |
||
| 27 | $primaryText = Text::create('primaryText'); |
||
| 28 | $secondaryText = Text::create('secondaryText'); |
||
| 29 | $tertiaryText = Text::create('tertiaryText'); |
||
| 30 | |||
| 31 | $textContent = TextContent::create($primaryText, $secondaryText, $tertiaryText); |
||
| 32 | |||
| 33 | $this->assertEquals(new ArrayObject([ |
||
| 34 | 'primaryText' => $primaryText, |
||
| 35 | 'secondaryText' => $secondaryText, |
||
| 36 | 'tertiaryText' => $tertiaryText, |
||
| 37 | ]), $textContent->jsonSerialize()); |
||
| 38 | } |
||
| 40 |