10 $calendarHome =
new CalendarHome($backend, [
'uri' =>
'principals/user']);
14 $calendarHome->getChildren()
25 $calendarHome =
new CalendarHome($backend, [
'uri' =>
'principals/user']);
26 $calendarHome->getChild(
'notifications');
33 $calendarHome =
new CalendarHome($backend, [
'uri' =>
'principals/user']);
35 $result = $calendarHome->getChildren();
36 $this->assertEquals(
'notifications',
$result[0]->getName());
43 $calendarHome =
new CalendarHome($backend, [
'uri' =>
'principals/user']);
44 $result = $calendarHome->getChild(
'notifications');
45 $this->assertEquals(
'notifications',
$result->getName());
An exception for terminatinating execution or to throw for unit testing.
testGetChildrenNoSupport()
testGetChildNoSupport()
@expectedException \Sabre\DAV\Exception\NotFound
The CalendarHome represents a node that is usually in a users' calendar-homeset.