ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Issue153Test.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\VObject;
4
5use PHPUnit\Framework\TestCase;
6
7class Issue153Test extends TestCase {
8
9 function testRead() {
10
11 $obj = Reader::read(file_get_contents(dirname(__FILE__) . '/issue153.vcf'));
12 $this->assertEquals('Test Benutzer', (string)$obj->FN);
13
14 }
15
16}
An exception for terminatinating execution or to throw for unit testing.
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition: Reader.php:42