public static Date getDate(Object date) {
        return getDate(date, Calendar.getInstance().getTime());
    }
@Test
    public void testGetDateObjectDateWithInvalidStringAndNullDefault() {
        assertNull(Converter.getDate("invalid date", null));
    }