@Test
public void testSimpleDateFormat() {

    Date date = (Date) converter.convert("2017-01-02");
    assertEquals(2017, getCalFiled(date, Calendar.YEAR));
    assertEquals(Calendar.JANUARY, getCalFiled(date, Calendar.MONTH));
    assertEquals(2, getCalFiled(date, Calendar.DAY_OF_MONTH));
    date = (Date) converter.convert("01/02/2017");
    assertEquals(2017, getCalFiled(date, Calendar.YEAR));
    assertEquals(Calendar.JANUARY, getCalFiled(date, Calendar.MONTH));
    assertEquals(2, getCalFiled(date, Calendar.DAY_OF_MONTH));
}