<?php
+use Shaarli\Exceptions\IOException;
+
require_once 'application/FileUtils.php';
/**
/**
* File not writable: raise an exception.
*
- * @expectedException IOException
+ * @expectedException Shaarli\Exceptions\IOException
* @expectedExceptionMessage Error accessing "sandbox/flat.db"
*/
public function testWriteWithoutPermission()
/**
* Folder non existent: raise an exception.
*
- * @expectedException IOException
+ * @expectedException Shaarli\Exceptions\IOException
* @expectedExceptionMessage Error accessing "nopefolder"
*/
public function testWriteFolderDoesNotExist()
/**
* Folder non writable: raise an exception.
*
- * @expectedException IOException
+ * @expectedException Shaarli\Exceptions\IOException
* @expectedExceptionMessage Error accessing "sandbox"
*/
public function testWriteFolderPermission()