Example #1
0
	public function testIsReadable() {
		$file1 = new \Core\Filestore\Backends\FileLocal('core/tests/updater-testdocument.txt');
		$file2 = new \Core\Filestore\Backends\FileLocal('core/tests/updater-testdocument-doesntoexist.txt');

		$this->assertTrue($file1->isReadable());
		$this->assertFalse($file2->isReadable());
	}