### Question:
TypeConverter { public static String convert(ColumnType columnType) throws ExecutionException { String type; if (columnType.getDataType() == DataType.BIGINT){ type = ES_LONG; } else if (columnType.getDataType() == DataType.BOOLEAN) { type = ES_BOOLEAN; } else if (columnType.getDataType() == DataType.DOUBLE) { type = ES_DOUBLE; } else if (columnType.getDataType() == DataType.FLOAT) { type = ES_FLOAT; } else if (columnType.getDataType() == DataType.INT) { type = ES_INTEGER; } else if (columnType.getDataType() == DataType.TEXT) { type = ES_STRING; } else if (columnType.getDataType() == DataType.VARCHAR) { type = ES_STRING; } else if (columnType.getDataType() == DataType.NATIVE && columnType.getODBCType().equals("date")) { type = columnType.getODBCType(); }else if (columnType.getDataType() == DataType.LIST) { type = convert(columnType.getDbInnerType()); } else { throw new ExecutionException("The type [" + columnType + "] is not supported in ElasticSearch"); } return type; } private  TypeConverter(); static String convert(ColumnType columnType); static final String ES_LONG; static final String ES_BOOLEAN; static final String ES_DOUBLE; static final String ES_FLOAT; static final String ES_INTEGER; static final String ES_STRING; static final String ES_DATE; }### Answer:
@Test public void testConvert() throws Exception { allCoveredTest(); conversionTest(); exceptionTest(); }