예제 #1
0
	/**
	 * The filename should be able to be settable afterwards too!
	 */
	public function testSetFilename(){
		$file = new \Core\Filestore\Backends\FileLocal();
		$file->setFilename('core/tests/updater-testdocument.txt');

		$this->assertEquals(ROOT_PDIR . 'core/tests/updater-testdocument.txt', $file->getFilename());
		$this->assertTrue($file->exists());
	}