diff --git a/dnet-ariadneplus-graphdb-publisher/test/java/eu/dnetlib/ariadneplus/reader/utils/ESUtilsTest.java b/dnet-ariadneplus-graphdb-publisher/test/java/eu/dnetlib/ariadneplus/reader/utils/ESUtilsTest.java index 8ae955c..7cd2288 100644 --- a/dnet-ariadneplus-graphdb-publisher/test/java/eu/dnetlib/ariadneplus/reader/utils/ESUtilsTest.java +++ b/dnet-ariadneplus-graphdb-publisher/test/java/eu/dnetlib/ariadneplus/reader/utils/ESUtilsTest.java @@ -1,4 +1,14 @@ package eu.dnetlib.ariadneplus.reader.utils; +import org.junit.Assert; +import org.junit.Test; + public class ESUtilsTest { + + @Test + public void testParseDate(){ + String date = "2013-03-13"; + String parsed = ESUtils.getESFormatDate(date); + Assert.assertEquals(date, parsed); + } }