package org.matrix.ktzentao;

import org.junit.jupiter.api.Test;
import org.matrix.ZentaoApplication;
import org.matrix.remote.service.DataCollector;
import org.matrix.remote.task.DataCollectorTask;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest(classes = ZentaoApplication.class)
class KtZentaoApplicationTests {

    @Autowired
    DataCollector dataCollector;
    @Autowired
    DataCollectorTask dataCollectorTask;
    @Test
    void test() {
        dataCollectorTask.collect();
    }

}
