This commit is contained in:
Grzegorz Piwowarek 2016-07-12 20:51:42 +03:00
parent ee3af0efe0
commit 0334f06ca5
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ public class AssertJJava8Test {
final LocalDate todayDate = LocalDate.now();
assertThat(givenLocalDate)
.isBefore(LocalDate.of(2020, 7, 8));
.isBefore(LocalDate.of(2020, 7, 8))
.isAfterOrEqualTo(LocalDate.of(1989, 7, 8));
assertThat(todayDate)
.isAfter(LocalDate.of(1989, 7, 8))