@Test( expectedExceptions = AssertionError.class, expectedExceptionsMessageRegExp = ASSERTION_PATTERN) public void isZonedDateTimeAfterDateTimeLaterZone() { assertThat( AUG_04_2015_NOON_UTC, ZonedDateTimeMatchers.after(2015, AUGUST, 4, 12, 0, 0, 0, ZoneIds.EST)); }
@Test public void isZonedDateTimeAfterZonedDateTimeEarlierZone() { assertThat(AUG_04_2015_NOON_UTC, ZonedDateTimeMatchers.after(AUG_04_2015_NOON_CET)); }
@Test public void isZonedDateTimeAfterDateTimeEarlierZone() { assertThat( AUG_04_2015_NOON_UTC, ZonedDateTimeMatchers.after(2015, AUGUST, 4, 12, 0, 0, 0, ZoneIds.CET)); }
@Test( expectedExceptions = AssertionError.class, expectedExceptionsMessageRegExp = ASSERTION_PATTERN) public void isZonedDateTimeAfterSameZonedDateTime() { assertThat(AUG_04_2015_NOON_UTC, ZonedDateTimeMatchers.after(AUG_04_2015_NOON_UTC)); }