mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-20 10:24:53 +00:00
docs: update microservices idempotent consumer
This commit is contained in:
+2
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user