Testing the reactive output adapters
We need to implement unit tests to ensure the methods from output adapters are working as expected. Here is an example of how we can create unit tests for RouterManagementMySQLAdapter
:
@QuarkusTest public class RouterManagementMySQLAdapterTest {     @InjectMock     RouterManagementMySQLAdapter      routerManagementMySQLAdapter;     @Test     public void testRetrieveRouter() {         Router router = getRouter();               Mockito.when(         routerManagementMySQLAdapter.         retrieveRouter(router.getId())).thenReturn(router);         Router retrievedRouter =      ...