@Test
public void testGetXMLGregorianCalendarValue()
{

    Calendar calendar = Calendar.getInstance();
    XMLGregorianCalendar gregorianCalendar = HerdDateUtils.getXMLGregorianCalendarValue(calendar.getTime());
    assertEquals(calendar.getTime(), gregorianCalendar.toGregorianCalendar().getTime());
}