TestDubboService.java 780 Bytes
package com.glsx.smart.service;


import cn.com.glsx.smart.modules.service.impl.UserKafkaServiceImpl;
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;

/**
 * @author wangxw
 * @version 1.0.0
 * @ClassName TestDubboService.java
 * @description: ${description}
 * @createTime 2021年05月05日 15:58:00
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class TestDubboService {

    @Autowired
    private UserKafkaServiceImpl userKafkaService;

    @Test
    public void testGetUserAddress() {
        Long userId = 91712473L;
        userKafkaService.getPointUser(userId);
    }
}