| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function testLongLinesAreFolder() |
||
| 29 | { |
||
| 30 | $lineAsString = 'SOMEPROPERTY:somesuperduperlongvaluethatneedstoobefoldedbecauseitistoolongtobedisplayedinasingleline'; |
||
| 31 | $expected = implode(Component::LINE_SEPARATOR, [ |
||
| 32 | 'SOMEPROPERTY:somesuperduperlongvaluethatneedstoobefoldedbecauseitistoolongt', |
||
| 33 | ' obedisplayedinasingleline', |
||
| 34 | ]); |
||
| 35 | |||
| 36 | $contentLine = ContentLine::fromString($lineAsString); |
||
| 37 | self::assertSame($expected, (string) $contentLine); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |