package com.tuoheng.admin.tzhl;

import com.tuoheng.admin.tzhl.response.TZHLOnlineUavResponse;
import com.tuoheng.admin.tzhl.service.fly.onlineuav.OnlineUavService;
import com.tuoheng.admin.tzhl.service.token.TZHLGetTokenService;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class TZHLOnlineUavServiceTest {

    @Autowired
    private OnlineUavService onlineUavService;

    @Test
    public void testGetToken() {
        TZHLOnlineUavResponse response = onlineUavService.getOnlineUav();
        System.out.println("response = " + response);
    }

}
