public static Date getDate(Object date) {
        return getDate(date, Calendar.getInstance().getTime());
    }
@Test
    @SuppressWarnings({ "UndefinedEquals", "JavaUtilDate" })
    public void testGetDateObjectDateWithTimeAndNullDefault() {
        Date time = new Date();
        assertEquals(time, Converter.getDate(time, null));
    }