package com.quinn.test;

import com.quinn.QuinnApplication;
import com.quinn.common.EmailType;
import com.quinn.common.QuinnConstant;
import com.quinn.intergration.SendBMail;
import com.quinn.pojo.Source;
import com.quinn.service.SourceService;
import com.quinn.utils.RedisUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;

import javax.annotation.Resource;
import java.util.List;

@RunWith(SpringRunner.class)
@SpringBootTest(classes={QuinnApplication.class})
public class RedisTest {

    @Resource
    SourceService sourceService;

    @Resource
    RedisUtils redisUtils;

    @Resource
    SendBMail sendBMail;

    @Test
    public void updateViewTask(){

    }

    @Test
    public void sendEmail(){
//        sendBMail.sendOneParamMail(EmailType.SUCCESS,"1234","540344226@qq.com");
    }

}
