Ejemplo n.º 1
0
 function testNotificationProperties()
 {
     $request = array('{' . Sabre_CalDAV_Plugin::NS_CALENDARSERVER . '}notificationtype');
     $result = array();
     $notification = new Sabre_CalDAV_Notifications_Node($this->caldavBackend, 'principals/user1', new Sabre_CalDAV_Notifications_Notification_SystemStatus('foo', '"1"'));
     $this->plugin->beforeGetProperties('foo', $notification, $request, $result);
     $this->assertEquals(array(200 => array('{' . Sabre_CalDAV_Plugin::NS_CALENDARSERVER . '}notificationtype' => $notification->getNotificationType())), $result);
 }