Example #1
0
 @Test
 public void isLocalDateTimeAfterEarlierDateTime() {
   assertThat(AUG_04_2015_NOON, LocalDateTimeMatchers.after(2015, AUGUST, 4, 11, 59, 0));
 }
Example #2
0
 @Test(
     expectedExceptions = AssertionError.class,
     expectedExceptionsMessageRegExp = ASSERTION_PATTERN)
 public void isLocalDateTimeAfterLaterSameDateTime() {
   assertThat(AUG_04_2015_NOON, LocalDateTimeMatchers.after(2015, AUGUST, 4, 12, 0, 0));
 }
Example #3
0
 @Test
 public void isLocalDateTimeAfterEarlierLocalDateTime() {
   assertThat(AUG_04_2015_NOON, LocalDateTimeMatchers.after(AUG_04_2015_1159));
 }