19 declare(strict_types=1);
    24 require_once 
"./Services/WebDAV/test/ilWebDAVTestHelper.php";
    33         $this->assertEquals($webdav_test_helper->getClientId(), $dav_client->getName());
   331             $dav_client->setName(
'My Valid Name');
   332             $this->assertFalse(
'This should not happen!');
   333         } 
catch (Forbidden 
$e) {
   334             $this->assertEquals(
'It is not possible to change the name of the root', $e->getMessage());
   343             $dav_client->createFile(
'My New File.txt');
   344             $this->assertFalse(
'This should not happen!');
   345         } 
catch (Forbidden 
$e) {
   346             $this->assertEquals(
'It is not possible to create a file here', $e->getMessage());
   355             $dav_client->createDirectory(
'My New Folder');
   356             $this->assertFalse(
'This should not happen!');
   357         } 
catch (Forbidden 
$e) {
   358             $this->assertEquals(
'It is not possible to create a directory here', $e->getMessage());
   367             $dav_client->delete();
   368             $this->assertFalse(
'This should not happen!');
   369         } 
catch (Forbidden 
$e) {
   370             $this->assertEquals(
'It is not possible to delete the root', $e->getMessage());
   378             $webdav_test_helper->getClientId(),
   379             $this->createStub(ilWebDAVObjFactory::class),
   380             $this->createStub(ilWebDAVRepositoryHelper::class)
 
testDeleteThrowsForbiddenError()
 
getDAVClientNodeWithExpectationForFunctions()
 
testSetNameThrowsForbiddenError()
 
testCreateFileThrowsForbiddenError()
 
testGetNameGetsObjectTitle()
 
testCreateDirectoryThrowsForbiddenError()