1<?php
2
3namespace Sabre\VObject;
4
5class Issue96Test extends \PHPUnit_Framework_TestCase {
6
7    function testRead() {
8
9        $input = <<<VCF
10BEGIN:VCARD
11VERSION:2.1
12SOURCE:Yahoo Contacts (http://contacts.yahoo.com)
13URL;CHARSET=utf-8;ENCODING=QUOTED-PRINTABLE:=
14http://www.example.org
15END:VCARD
16VCF;
17
18        $vcard = Reader::read($input, Reader::OPTION_FORGIVING);
19        $this->assertInstanceOf('Sabre\\VObject\\Component\\VCard', $vcard);
20        $this->assertEquals("http://www.example.org", $vcard->url->getValue());
21
22    }
23
24}
25