docs: update microservices idempotent consumer

This commit is contained in:
Ilkka Seppälä
2025-04-14 20:13:14 +03:00
parent acb40e112b
commit 076fc21e40
7 changed files with 68 additions and 48 deletions
@@ -39,12 +39,12 @@ import org.springframework.boot.CommandLineRunner;
class AppTest {
@Test
void main() {
void testMain() {
assertDoesNotThrow(() -> App.main(new String[] {}));
}
@Test
void run() throws Exception {
void testRun() throws Exception {
RequestService requestService = Mockito.mock(RequestService.class);
RequestRepository requestRepository = Mockito.mock(RequestRepository.class);
UUID uuid = UUID.randomUUID();