ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
CollectionTest.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\CalDAV\Principal
;
4
5
use
Sabre\DAVACL
;
6
7
class
CollectionTest
extends
\PHPUnit_Framework_TestCase
{
8
9
function
testGetChildForPrincipal
() {
10
11
$back =
new
DAVACL\PrincipalBackend\Mock
();
12
$col =
new
Collection
($back);
13
$r
= $col->getChildForPrincipal([
14
'uri'
=>
'principals/admin'
,
15
]);
16
$this->assertInstanceOf(
'Sabre\\CalDAV\\Principal\\User'
,
$r
);
17
18
}
19
20
}
Sabre\CalDAV\Principal
Definition:
Collection.php:3
PHPUnit_Framework_TestCase
Sabre\CalDAV\Principal\Collection
Principal collection.
Definition:
Collection.php:19
Sabre\DAVACL\PrincipalBackend\Mock
Definition:
Mock.php:5
$r
$r
Definition:
example_031.php:79
Sabre\CalDAV\Principal\CollectionTest\testGetChildForPrincipal
testGetChildForPrincipal()
Definition:
CollectionTest.php:9
Sabre\DAVACL
Definition:
AbstractPrincipalCollection.php:3
Sabre\CalDAV\Principal\CollectionTest
Definition:
CollectionTest.php:7
php
libs
composer
vendor
sabre
dav
tests
Sabre
CalDAV
Principal
CollectionTest.php
Generated on Thu Jan 16 2025 19:01:51 for ILIAS by
1.8.13 (using
Doxyfile
)