]> git.mxchange.org Git - friendica-addons.git/blob - dav/SabreDAV/tests/Sabre/CalDAV/Notifications/NodeTest.php
Heavily refactored, including multiple calendars per user and recurring events. Not...
[friendica-addons.git] / dav / SabreDAV / tests / Sabre / CalDAV / Notifications / NodeTest.php
1 <?php
2
3 class Sabre_CalDAV_Notifications_NodeTest extends \PHPUnit_Framework_TestCase {
4
5     function testGetId() {
6
7         $principalUri = 'principals/user1';
8
9         $systemStatus = new Sabre_CalDAV_Notifications_Notification_SystemStatus(1);
10
11         $caldavBackend = new Sabre_CalDAV_Backend_Mock(array(),array(), array(
12             'principals/user1' => array(
13                 $systemStatus
14             )
15         )); 
16
17
18         $node = new Sabre_CalDAV_Notifications_Node($caldavBackend, $systemStatus);
19         $this->assertEquals($systemStatus->getId(), $node->getName());
20
21     }
22
23 }