diff options
author | Vitaly Takmazov | 2016-12-19 15:04:35 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-19 15:04:35 +0300 |
commit | 17eaf21941db6aef1e40b3ab5912b2d34f231cb1 (patch) | |
tree | 0c686543e6a98761f3428c4e0bc22b8874f619df /juick-notifications/src/test/java/com/juick/components | |
parent | 7293d22f1aa731610849a8657b8ae462eb67eee2 (diff) |
juick-notifications: fix tests
Diffstat (limited to 'juick-notifications/src/test/java/com/juick/components')
-rw-r--r-- | juick-notifications/src/test/java/com/juick/components/test/NotificationTests.java | 6 |
1 files changed, 6 insertions, 0 deletions
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 |