Esempio n. 1
0
 @Test
 public void isLocalDateTimeAfterEarlierDateTime() {
   assertThat(AUG_04_2015_NOON, LocalDateTimeMatchers.after(2015, AUGUST, 4, 11, 59, 0));
 }
Esempio n. 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));
 }
Esempio n. 3
0
 @Test
 public void isLocalDateTimeAfterEarlierLocalDateTime() {
   assertThat(AUG_04_2015_NOON, LocalDateTimeMatchers.after(AUG_04_2015_1159));
 }