### Question:
Pql { public static Object getCsvValue(Value value) { return getCsvValue(getApiValue(value)); } 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 @SuppressWarnings("unchecked") public void testGetCsvValue_numberSet() { assertEquals("1,-1", Pql.getCsvValue(numberSetValue)); }
@Test @SuppressWarnings("unchecked") public void testGetCsvValue_textSet() { assertEquals("value1,value2", Pql.getCsvValue(textSetValue)); }
@Test @SuppressWarnings("unchecked") public void testGetCsvValue_commaTextSet() { assertEquals("value1,\"comma,separated\"", Pql.getCsvValue(commaTextSetValue)); }
@Test @SuppressWarnings("unchecked") public void testGetCsvValue_dateSet() { assertEquals("2012-12-02", Pql.getCsvValue(dateSetValue)); }
@Test @SuppressWarnings("unchecked") public void testGetCsvValue_dateTimeSet() { assertEquals( DateTimes.toStringWithTimeZone(dateTimeValue1.getValue()), Pql.getCsvValue(dateTimeSetValue)); }
@Test public void testGetCsvValue_commaTextSet() { assertEquals("value1,\"comma,separated\"", Pql.getCsvValue(commaTextSetValue)); }
@Test public void testGetCsvValue_mixedSet() { thrown.expect(IllegalArgumentException.class); Pql.getCsvValue(mixedSetValue); }
@Test public void testGetCsvValue_targetingValue() { thrown.expect(IllegalArgumentException.class); Pql.getCsvValue(targetingValue1); }