Helius
2020-05-25 09386afca773e3a6f99c5318d123b75ffeb7964e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.xcong.excoin;
 
import com.xcong.excoin.rabbit.producer.TestProducer;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
 
import javax.annotation.Resource;
 
/**
 * @author wzy
 * @date 2020-05-25
 **/
@SpringBootTest
public class RabbitMqTest {
 
    @Autowired
    private TestProducer testProducer;
 
    @Test
    public void sendTestMsg() {
        testProducer.sendTestMsg("this is test msg");
    }
}