import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.text.ParseException;
String expected = "2004-02-09 00:00:00:000";
assertEquals(expected, dateString);
}
+
+ @Test
+ public void testDateToStringConverterMillisForNullDate() {
+ assertNull(Time.dateToStringConverterMillis(null));
+ }
@Test
public void testStringToDateConverterMillis() throws ParseException {