diff options
author | Vitaly Takmazov | 2019-11-13 10:11:54 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-11-13 10:11:54 +0300 |
commit | 4fcfacbdabd96b6b319d3f5cd5e1fc47531ec275 (patch) | |
tree | 83fad5fbc41d47b50895a8be92030ececc6db617 /src/test/java/com/juick/FormatterTest.java | |
parent | fd9368dd168e73be86b2f1048adf753205953a27 (diff) |
Spring Boot 2.2.1, Babel 7.7
Diffstat (limited to 'src/test/java/com/juick/FormatterTest.java')
-rw-r--r-- | src/test/java/com/juick/FormatterTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/juick/FormatterTest.java b/src/test/java/com/juick/FormatterTest.java index da9f5d26..8a6bf83f 100644 --- a/src/test/java/com/juick/FormatterTest.java +++ b/src/test/java/com/juick/FormatterTest.java @@ -39,13 +39,13 @@ public class FormatterTest { public void forAnyDateFormatterShouldReturnNotEmptyString() throws Exception { Instant ts = Instant.now(); - assertThat(DateFormattersHolder.getMessageFormatterInstance().format(ts), not(isEmptyOrNullString())); - assertThat(DateFormattersHolder.getRssFormatterInstance().format(ts), not(isEmptyOrNullString())); + assertThat(DateFormattersHolder.getMessageFormatterInstance().format(ts), not(emptyOrNullString())); + assertThat(DateFormattersHolder.getRssFormatterInstance().format(ts), not(emptyOrNullString())); ts = Instant.ofEpochMilli(RandomUtils.nextLong(1, Long.MAX_VALUE / 10000)); - assertThat(DateFormattersHolder.getMessageFormatterInstance().format(ts), not(isEmptyOrNullString())); - assertThat(DateFormattersHolder.getRssFormatterInstance().format(ts), not(isEmptyOrNullString())); + assertThat(DateFormattersHolder.getMessageFormatterInstance().format(ts), not(emptyOrNullString())); + assertThat(DateFormattersHolder.getRssFormatterInstance().format(ts), not(emptyOrNullString())); } @Test |