コード例 #1
0
	/**
	 * Test the getFilesize method
	 */
	public function testGetFilesize(){
		$file = new \Core\Filestore\Backends\FileLocal('core/tests/updater-testdocument.txt');

		$this->assertGreaterThan(0, $file->getFilesize());
		$this->assertNotEmpty($file->getFilesize(true));
	}