@Test(expected = IllegalArgumentException.class) public void throwsExceptionWhenDateIsNull() throws Exception { dateHeaderDelegate.toString(null); }
@Override public String toString(Date date) { if (date == null) { throw new IllegalArgumentException(); } return HeaderHelper.formatDate(date); }
DateHeaderDelegate implements RuntimeDelegate.HeaderDelegate<Date> { @Override public String toString(Date date) { if (date == null) { throw new IllegalArgumentException(); } return HeaderHelper.formatDate(date); } }
DateHeaderDelegate implements RuntimeDelegate.HeaderDelegate<Date> { @Override public String toString(Date date) { if (date == null) { throw new IllegalArgumentException(); } return HeaderHelper.formatDate(date); }  }
DateHeaderDelegate implements RuntimeDelegate.HeaderDelegate<Date> { @Override public String toString(Date date) { if (date == null) { throw new IllegalArgumentException(); } return HeaderHelper.formatDate(date); }  @Override Date fromString(String header); @Override String toString(Date date); }
DateHeaderDelegate implements RuntimeDelegate.HeaderDelegate<Date> { @Override public String toString(Date date) { if (date == null) { throw new IllegalArgumentException(); } return HeaderHelper.formatDate(date); }  @Override Date fromString(String header); @Override String toString(Date date);  }