You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
445 B
20 lines
445 B
|
11 years ago
|
<?php
|
||
|
|
|
||
|
|
namespace Sabre\VObject;
|
||
|
|
|
||
|
|
class Issue64Test extends \PHPUnit_Framework_TestCase {
|
||
|
|
|
||
|
|
function testRead() {
|
||
|
|
|
||
|
|
$vcard = Reader::read(file_get_contents(dirname(__FILE__) . '/issue64.vcf'));
|
||
|
|
$vcard = $vcard->convert(\Sabre\VObject\Document::VCARD30);
|
||
|
|
$vcard = $vcard->serialize();
|
||
|
|
|
||
|
|
$converted = Reader::read($vcard);
|
||
|
|
|
||
|
|
$this->assertInstanceOf('Sabre\\VObject\\Component\\VCard', $converted);
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|