/** * @covers ../../../src/Library/Helper/File::copy() */ public function test_copy() { $this->checkNoArg('copy'); \Library\Helper\Directory::ensureExists(self::$tmp_dir); \Library\Helper\File::touch(self::$tmp_file); $logs = array(); $this->assertTrue(\Library\Helper\File::copy(self::$tmp_file, self::$tmp_file_2)); $this->assertEmpty($logs); /* $logs = array(); $this->assertTrue(\Library\Helper\File::copy(self::$tmp_file, self::$tmp_file, true)); $this->assertEmpty($logs); */ }