19 declare(strict_types=1);
    31         $this->assertEquals($webdav_test_helper->getClientId(), $dav_client->getName());
   329             $dav_client->setName(
'My Valid Name');
   330             $this->assertFalse(
'This should not happen!');
   331         } 
catch (Forbidden 
$e) {
   332             $this->assertEquals(
'It is not possible to change the name of the root', $e->getMessage());
   341             $dav_client->createFile(
'My New File.txt');
   342             $this->assertFalse(
'This should not happen!');
   343         } 
catch (Forbidden 
$e) {
   344             $this->assertEquals(
'It is not possible to create a file here', $e->getMessage());
   353             $dav_client->createDirectory(
'My New Folder');
   354             $this->assertFalse(
'This should not happen!');
   355         } 
catch (Forbidden 
$e) {
   356             $this->assertEquals(
'It is not possible to create a directory here', $e->getMessage());
   365             $dav_client->delete();
   366             $this->assertFalse(
'This should not happen!');
   367         } 
catch (Forbidden 
$e) {
   368             $this->assertEquals(
'It is not possible to delete the root', $e->getMessage());
   376             $webdav_test_helper->getClientId(),
   377             $this->createStub(ilWebDAVObjFactory::class),
   378             $this->createStub(ilWebDAVRepositoryHelper::class)
 
testDeleteThrowsForbiddenError()
 
getDAVClientNodeWithExpectationForFunctions()
 
testSetNameThrowsForbiddenError()
 
testCreateFileThrowsForbiddenError()
 
testGetNameGetsObjectTitle()
 
testCreateDirectoryThrowsForbiddenError()