aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/FormatterTest.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-21 12:35:39 +0300
committerGravatar Vitaly Takmazov2019-10-21 12:35:39 +0300
commitd3648888eaea9904fb3b806d56b22827c7614f54 (patch)
tree7b320943f31e884cef4a667d3b77b329a048fd7a /src/test/java/com/juick/FormatterTest.java
parent3799b41149c304721b63c7e36e509cd5865ca9fb (diff)
Spring Boot 2.2
Diffstat (limited to 'src/test/java/com/juick/FormatterTest.java')
-rw-r--r--src/test/java/com/juick/FormatterTest.java8
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