1<?php
2
3namespace Sabre\VObject;
4
5class AttachIssueTest extends \PHPUnit_Framework_TestCase {
6
7    function testRead() {
8
9        $event = <<<ICS
10BEGIN:VCALENDAR\r
11BEGIN:VEVENT\r
12ATTACH;FMTTYPE=;ENCODING=:Zm9v\r
13END:VEVENT\r
14END:VCALENDAR\r
15
16ICS;
17        $obj = Reader::read($event);
18        $this->assertEquals($event, $obj->serialize());
19
20    }
21
22}
23