From 17eaf21941db6aef1e40b3ab5912b2d34f231cb1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 19 Dec 2016 15:04:35 +0300 Subject: juick-notifications: fix tests --- .../src/test/java/com/juick/components/test/NotificationTests.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'juick-notifications/src/test/java/com/juick/components') diff --git a/juick-notifications/src/test/java/com/juick/components/test/NotificationTests.java b/juick-notifications/src/test/java/com/juick/components/test/NotificationTests.java index c4a4ed24..8aac9501 100644 --- a/juick-notifications/src/test/java/com/juick/components/test/NotificationTests.java +++ b/juick-notifications/src/test/java/com/juick/components/test/NotificationTests.java @@ -4,6 +4,8 @@ import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.spi.LoggingEvent; import ch.qos.logback.core.Appender; import com.juick.components.CleanUp; +import com.juick.components.Notifications; +import com.juick.components.service.TokenService; import com.notnoop.apns.ApnsService; import org.junit.Before; import org.junit.Test; @@ -34,6 +36,10 @@ public class NotificationTests { ApnsService service; @Mock RestTemplate rest; + @Mock + TokenService tokenService; + @Mock + Notifications push; @Before -- cgit v1.2.3