@IssueKey( "248" )
@WithClasses( { SourceWithDate.class, TargetWithDate.class, SourceTargetWithDateMapper.class } )
public void dateToXmlGregorianCalenderHasCorrectImports() {
assertThat( SourceTargetWithDateMapper.INSTANCE.toTargetWithDate( null ) ).isNull();
TargetWithDate targetWithDate = SourceTargetWithDateMapper.INSTANCE.toTargetWithDate( new SourceWithDate() );
assertThat( targetWithDate ).isNotNull();
assertThat( targetWithDate.getDate() ).isNull();
}