### Question:
Pql { public static List<String> getColumnLabels(ResultSet resultSet) { return Lists.transform( Lists.newArrayList(resultSet.getColumnTypes()), new Function<ColumnType, String>() { public String apply(ColumnType input) { return input.getLabelName(); } }); } private  Pql(); static Value createValue(Object value); static String toString(Value value); static Object getApiValue(Value value); static Object getNativeValue(Value value); static Object getCsvValue(Value value); static List<String[]> resultSetToStringArrayList(ResultSet resultSet); static String resultSetToString(ResultSet resultSet); static List<String> getColumnLabels(ResultSet resultSet); static List<String> getRowStringValues(Row row); static ResultSet combineResultSets(ResultSet first, ResultSet second);  }### Answer:
@Test public void testGetColumnLabels() { ResultSet resultSet = new ResultSet(); resultSet.getColumnTypes().addAll(Lists.newArrayList(column1, column2, column3)); assertEquals( Lists.newArrayList("column1", "column2", "column3"), Pql.getColumnLabels(resultSet)); }