@Test
public void generated_date_has_utc_offset_when_none_is_given() throws Exception {

    LocalDate localDate = LocalDate.of(2013, 1, 1);
    LocalTime localTime = LocalTime.of(0, 30, 0, 0);
    LocalDateTime dateTime = localDate.atTime(localTime);
    OffsetDateTime zonedDateTime = dateTime.atOffset(ZoneOffset.UTC);
    Date expectedDate = DateUtilities.from(localDate, localTime);
    Assert.assertEquals(zonedDateTime.toInstant(), expectedDate.toInstant());
}