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;

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

    private final MigrateFromPendingMessageJob migrateFromPendingMessageJob;

    @Test
    void migrate() {
        migrateFromPendingMessageJob.execute(null);
    }

}