DatabaseExportService { static DatabaseExportConfiguration getConfig(DatabaseTable databaseTable) { return EXPORT_CONFIGS.get(databaseTable); }  void exportAsCsvFiles(ZipOutputStream zos, List<DatabaseTable> databaseTables);  }
@Test public void testGetConfigFullyDefined() { for (DatabaseTable databaseTable : DatabaseTable.values()) { DatabaseExportConfiguration config = DatabaseExportService.getConfig(databaseTable); assertNotNull( String.format("No export configuration defined for %s.%s", DatabaseTable.class.getSimpleName(), databaseTable.name()), config); assertThat(config.getTableName(), not(isEmptyString())); if (config.isUseJoinTable()) { assertThat(config.getJoinTableName(), not(isEmptyString())); assertThat(config.getColumnName(), not(isEmptyString())); assertThat(config.getJoinColumnName(), not(isEmptyString())); } } }