Remove the broken test
package com.baeldung.datetime.sql;
-import static org.junit.Assert.assertEquals;
-
import org.junit.Test;
-import com.baeldung.datetime.sql.TimestampUtils;
-
import java.text.ParseException;
-import java.util.Date;
-public class TimestampUtilsUnitTest {
+import static org.junit.Assert.assertEquals;
- @Test
- public void givenCurrentTimestamp_thenNowIsReturned() {
- assertEquals(TimestampUtils.getNow()
- .getTime(), new Date().getTime());
- }
+public class TimestampUtilsUnitTest {
@Test(expected = IllegalArgumentException.class)
public void givenTimestampAsString_whenPatternIsNotRespected_thenExceptionIsThrown() {
