3 class Sabre_VObject_Issue154Test extends PHPUnit_Framework_TestCase {
7 $vcard = new Sabre_VObject_Component('VCARD');
8 $vcard->VERSION = '3.0';
9 $vcard->PHOTO = base64_encode('random_stuff');
10 $vcard->PHOTO->add('BASE64',null);
11 $vcard->UID = 'foo-bar';
13 $result = $vcard->serialize();
17 "PHOTO;BASE64:" . base64_encode('random_stuff'),
23 $this->assertEquals(implode("\r\n", $expected), $result);