Exemplo n.º 1
0
 function testNotificationProperties()
 {
     $request = array('{' . Plugin::NS_CALENDARSERVER . '}notificationtype');
     $result = array();
     $notification = new Notifications\Node($this->caldavBackend, 'principals/user1', new Notifications\Notification\SystemStatus('foo', '"1"'));
     $this->plugin->beforeGetProperties('foo', $notification, $request, $result);
     $this->assertEquals(array(200 => array('{' . Plugin::NS_CALENDARSERVER . '}notificationtype' => $notification->getNotificationType())), $result);
 }