LogRepositoryCustomImpl implements LogRepositoryCustom { public void exportToFile(String path, String name, XLog log) throws Exception { if (name.endsWith("mxml.gz")) { exportToInputStream(log, path, name, new XMxmlGZIPSerializer()); } else if (name.endsWith("mxml")) { exportToInputStream(log, path, name, new XMxmlSerializer()); } else if (name.endsWith("xes.gz")) { exportToInputStream(log, path, name, new XesXmlGZIPSerializer()); } else if (name.endsWith("xes")) { exportToInputStream(log, path, name, new XesXmlSerializer()); } }  @Override @SuppressWarnings("unchecked") List<Log> findAllLogs(final String conditions); @Override @SuppressWarnings("unchecked") List<Log> findAllLogsByFolder(final Integer folderId, final String userRowGuid, final String conditions); @Override String storeProcessLog(final Integer folderId, final String logName, XLog log, final Integer userID,
                                  final String domain, final String created); void deleteProcessLog(Log log); XLog getProcessLog(Log log, String factoryName); APMLog getAggregatedLog(Log log); String getLayoutByLogId(Integer logId, Integer userId); XLog importFromFile(XFactory factory, String location); void exportToFile(String path, String name, XLog log); XLog importFromInputStream(InputStream inputStream, XParser parser); void exportToInputStream(XLog log, String path, String name, XSerializer serializer);  }
@Test public void exportToFile() { }