FileSystemDropExporter implements DropExporter { String getSourceFileName(Date uploadDate, String bcp47tag) { return bcp47tag + "_" + new SimpleDateFormat("MM-dd-yy").format(uploadDate) + ".xliff"; }  @Override DropExporterType getDropExporterType(); @Override String getConfig(); @Override void setConfig(String config); FileSystemDropExporterConfig getFileSystemDropExporterConfig(); @Override void init(String dropGroupName, String dropName); @Override void exportSourceFile(String bcp47tag, String fileContent); @Override void exportImportedFile(String filename, String fileContent, String comment); @Override void addCommentToFile(String fileId, String comment); @Override DropImporter getDropImporter(); @Override void deleteDrop();  }
@Test public void testGetSourceFileName() { Calendar cal = Calendar.getInstance(); cal.set(2013, 0, 1, 0, 0, 0); BoxDropExporter boxDropExporter = new BoxDropExporter(); String res = boxDropExporter.getSourceFileName(cal.getTime(), "fre"); assertEquals("fre_01-01-13.xliff", res); }