package com.pcloud.book.test;

import com.pcloud.book.BookApplication;
import com.pcloud.book.rightsSetting.dao.RightsItemGroupDao;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@Slf4j
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = {BookApplication.class, BookDaoTest.class})
public class RightsItemGroupDaoTest {

    @Autowired
    private RightsItemGroupDao rightsItemGroupDao;

    @Test
    public void test() {
        rightsItemGroupDao.getCount4Group(2374L);
    }
}
