private function mockFileUpload($filePath)
 {
     $cfu = new ChessFileUpload();
     $tokens = explode("/", $filePath);
     $tokens[1] = "tmp-" . $tokens[1];
     $newFilePath = implode("/", $tokens);
     copy($filePath, $newFilePath);
     $_FILES = array(array('size' => filesize($newFilePath), 'name' => $tokens[1], 'tmp_name' => $newFilePath));
     $cfu->save();
     return $cfu->getId();
 }