package com.tuoheng.admin.tzhl;

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 TZHLGetTokenServiceTest {

    @Autowired
    private TZHLGetTokenService tzhlGetTokenService;

    @Test
    public void testGetToken() {
        String token = tzhlGetTokenService.getToken();
        System.out.println("token = " + token);
    }

}
