Assert.assertTrue(!date.equals(checkDateWithTimeZone));
}
@Test
public void checkDateComplexDate() {
final ComplexDate complexDate = new ComplexDate();
final Date date = new Date();
complexDate.dateWithoutTimeZone = (Date) date.clone();
complexDate.dateWithoutTimeZoneTransformed = (Date) date.clone();
complexDate.dateWithTimeZone = (Date) date.clone();
complexDate.dateWithTimeZoneTransformed = (Date) date.clone();
final ComplexDate complexDateReturned = exampleSProcServiceDateConversion.checkDateComplexDate(complexDate);
Assert.assertEquals(complexDate.dateWithoutTimeZone, complexDateReturned.dateWithoutTimeZone);
Assert.assertEquals(complexDate.dateWithoutTimeZoneTransformed,
complexDateReturned.dateWithoutTimeZoneTransformed);
Assert.assertEquals(complexDate.dateWithTimeZone, complexDateReturned.dateWithTimeZone);