package com.pcloud.book.test;

import com.pcloud.book.BookApplication;
import com.pcloud.book.rightsSetting.dao.RightsSettingItemDao;
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 RightsSettingItemDaoTest {

    @Autowired
    private RightsSettingItemDao rightsSettingItemDao;

    @Test
    public void test() {
        rightsSettingItemDao.getCount4Item(1513L);
    }
}
