14 $principalUri =
'principals/user1';
19 'principals/user1' => [
24 $node =
new Node($this->caldavBackend,
'principals/user1', $this->systemStatus);
32 $this->assertEquals($this->systemStatus->getId() .
'.xml', $node->getName());
39 $this->assertEquals(
'"1"', $node->getETag());
46 $this->assertEquals($this->systemStatus, $node->getNotificationType());
54 $this->assertEquals([], $this->caldavBackend->getNotificationsForPrincipal(
'principals/user1'));
61 $this->assertNull($node->getGroup());
70 'privilege' =>
'{DAV:}all',
71 'principal' =>
'{DAV:}owner',
76 $this->assertEquals($expected, $node->getACL());
93 $this->assertNull($node->getSupportedPrivilegeSet());
This node represents a single notification.
testGetNotificationType()
SystemStatus notification.
testGetSupportedPrivilegeSet()