package org.matrix.ktzentao;

import org.junit.jupiter.api.Test;
import org.matrix.ZentaoApplication;
import org.matrix.remote.service.IDataCollector;
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
    IDataCollector dataCollector;
    @Autowired
    DataCollectorTask dataCollectorTask;
    @Test
    void test() {
        dataCollectorTask.collect();
    }

}
