aboutsummaryrefslogtreecommitdiff
path: root/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java
blob: 5f2c2b0540733a1a034c81e824872cd4877374fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
    }
}