| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 19 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 34 | public function testComponentWithPropertiesToString()  | 
            ||
| 35 |     { | 
            ||
| 36 | $properties = [  | 
            ||
| 37 |             Property::create('TEST', TextValue::fromString('value')), | 
            ||
| 38 |             Property::create('TEST2', TextValue::fromString('value2')), | 
            ||
| 39 | ];  | 
            ||
| 40 | |||
| 41 | $expected = implode(Component::LINE_SEPARATOR, [  | 
            ||
| 42 | 'BEGIN:VEVENT',  | 
            ||
| 43 | 'TEST:value',  | 
            ||
| 44 | 'TEST2:value2',  | 
            ||
| 45 | 'END:VEVENT',  | 
            ||
| 46 | ]);  | 
            ||
| 47 | |||
| 48 | self::assertSame(  | 
            ||
| 49 | $expected,  | 
            ||
| 50 |             (string) Component::create('VEVENT', $properties) | 
            ||
| 51 | );  | 
            ||
| 52 | }  | 
            ||
| 53 | }  | 
            ||
| 54 |