aboutsummaryrefslogtreecommitdiff
path: root/juick-server-jdbc/src/test/java/com/juick/service
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server-jdbc/src/test/java/com/juick/service')
-rw-r--r--juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java b/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java
new file mode 100644
index 00000000..5f2c2b05
--- /dev/null
+++ b/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java
@@ -0,0 +1,23 @@
+package com.juick.service;
+
+import com.juick.configuration.RepositoryConfiguration;
+import org.junit.Test;
+import org.springframework.test.context.ContextConfiguration;
+import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
+
+import javax.inject.Inject;
+
+/**
+ * Created by aalexeev on 11/25/16.
+ */
+@ContextConfiguration(classes = RepositoryConfiguration.class)
+public class MessageServiceTest extends AbstractJUnit4SpringContextTests {
+ @Inject
+ private MessagesService messagesService;
+
+
+ @Test
+ public void getMyFeed() {
+ messagesService.getMyFeed(1, 1000000);
+ }
+}