| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function testLongLinesAreFolder() |
||
| 20 | { |
||
| 21 | $lineAsString = 'SOMEPROPERTY:somesuperduperlongvaluethatneedstoobefoldedbecauseitistoolongtobedisplayedinasingleline'; |
||
| 22 | $expected = implode(Component::LINE_SEPARATOR, [ |
||
| 23 | 'SOMEPROPERTY:somesuperduperlongvaluethatneedstoobefoldedbecauseitistoolongt', |
||
| 24 | ' obedisplayedinasingleline', |
||
| 25 | ]); |
||
| 26 | |||
| 27 | $contentLine = ContentLine::fromString($lineAsString); |
||
| 28 | self::assertSame($expected, (string)$contentLine); |
||
| 29 | } |
||
| 30 | } |
||
| 31 |