package com.pcloud.book.test;

import com.pcloud.book.BookApplication;
import com.pcloud.book.rightsSetting.mapper.RightsSettingTitleMapper;
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 RightsSettingTitleMapperTest {

    @Autowired
    private RightsSettingTitleMapper rightsSettingTitleMapper;

    @Test
    public void test() {
        rightsSettingTitleMapper.getCount4Title(8400L);
    }
}
