public void shouldApplyBuiltInXmlGregCalToString() throws ParseException, DatatypeConfigurationException {
XmlGregorianCalendarProperty source = new XmlGregorianCalendarProperty();
source.setProp( createXmlCal( 1999, 3, 2, 60 ) );
StringProperty target = XmlGregCalToStringMapper.INSTANCE.mapAndFormat( source );
assertThat( target ).isNotNull();
assertThat( target.getProp() ).isNotNull();
assertThat( target.getProp() ).isEqualTo( "02.03.1999" );
source.setProp( createXmlCal( 1999, 3, 2, 60 ) );
target = XmlGregCalToStringMapper.INSTANCE.map( source );
assertThat( target ).isNotNull();
assertThat( target.getProp() ).isNotNull();
assertThat( target.getProp() ).isEqualTo( "1999-03-02+01:00" );
}