示例#1
0
 function testNotificationProperties()
 {
     $notification = new Node($this->caldavBackend, 'principals/user1', new Notification\SystemStatus('foo', '"1"'));
     $propFind = new DAV\PropFind('calendars/user1/notifications', ['{' . Plugin::NS_CALENDARSERVER . '}notificationtype']);
     $this->plugin->propFind($propFind, $notification);
     $this->assertEquals($notification->getNotificationType(), $propFind->get('{' . Plugin::NS_CALENDARSERVER . '}notificationtype'));
 }