@Test
public void getEndDate_invalidDate() {

    String someDate = "noDate";
    String deFormattedDate = DateUtil.getEndDate(someDate, 30, Locale.GERMAN);
    System.out.println("deFormattedDate: " + deFormattedDate);
    DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.GERMAN);
    String today = df.format(new Date());
    assertTrue(deFormattedDate.equals(today));
}