Helius
2021-05-21 ded46e4cbc894c60284ce3012885a6c8e5089382
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.xcong.excoin;
 
import com.xcong.excoin.rabbit.producer.OtcProducter;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
 
@Slf4j
@SpringBootTest
public class OtcTest {
 
    @Autowired
    private OtcProducter otcProducter;
 
    @Test
    public void rabbitTest() {
        otcProducter.sendMarketBussinessMsg("123456");
    }
}