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