package com.pgf.mqspring.service.impl; import static org.junit.jupiter.api.Assertions.*; import java.io.IOException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.MockitoAnnotations; import org.springframework.test.context.junit.jupiter.SpringExtension; @ExtendWith(SpringExtension.class) class MqSendServiceImplTest06 { @InjectMocks MqSendServiceImpl mqSendService; @BeforeEach public void beforeEacn() throws IOException { MockitoAnnotations.openMocks(this); } @Test void getMessageId01() throws InterruptedException { mqSendService.setMessageId("414d51205349434d51314420202020204c1a886302bba525"); assertEquals("414d51205349434d51314420202020204c1a886302bba525", mqSendService.getMessageId()); } }