package cn.axzo.msg.center.message.xxl;

import cn.axzo.msg.center.MsgCenterApplication;
import lombok.RequiredArgsConstructor;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.annotation.Commit;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author yanglin
 */
@SpringBootTest(classes = MsgCenterApplication.class)
@RequiredArgsConstructor(onConstructor_ = @Autowired)
class SetWebOpenStrategyJobTest {

    private final SetWebOpenStrategyJob setWebOpenStrategyJob;

    @Test @Transactional @Commit
    void exec() throws Exception {
        setWebOpenStrategyJob.execute(null);
    }

}