| package cc.mrbird.febs; | 
|   | 
| import cc.mrbird.febs.mall.service.IAgentService; | 
| import cc.mrbird.febs.rabbit.consumer.AgentConsumer; | 
| import org.junit.jupiter.api.Test; | 
| import org.springframework.beans.factory.annotation.Autowired; | 
| import org.springframework.boot.test.context.SpringBootTest; | 
|   | 
| /** | 
|  * @author wzy | 
|  * @date 2022-06-02 | 
|  **/ | 
| @SpringBootTest | 
| public class ProfitTest { | 
|   | 
|     @Autowired | 
|     private AgentConsumer agentConsumer; | 
|   | 
|     @Autowired | 
|     private IAgentService agentService; | 
|   | 
|     @Test | 
|     public void dynamicProfit() { | 
|         agentService.rankReturnMoney(7L); | 
|     } | 
| } |