this.context.refresh();
FormattingConversionService cs = this.context
.getBean(FormattingConversionService.class);
Date date = new DateTime(1988, 6, 25, 20, 30).toDate();
// formatting cs should use simple toString()
assertThat(cs.convert(date, String.class), equalTo(date.toString()));
}
@Test
public void overrideDateFormat() throws Exception {
this.context = new AnnotationConfigEmbeddedWebApplicationContext();