Skip to content

Commit 661023f

Browse files
ICKostiantyn.IvanovICKostiantyn.Ivanov
authored andcommitted
BAEL-8891 - Introduction to ActiveJ
1 parent 03315fe commit 661023f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libraries-5/src/test/java/com/baeldung/activej/ActiveJTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ void givenEventloop_whenCallFindAndVerifyPerson_thenExpectedVerificationResultSh
3333
PersonService personService = Injector.of(personModule).getInstance(PersonService.class);
3434

3535
Eventloop eventloop = Eventloop.create();
36-
36+
eventloop.run();
3737
personService.findAndVerifyPerson("Good person")
3838
.whenResult(verifiedPerson -> assertEquals("SUCCESS", verifiedPerson.result()));
39-
40-
eventloop.run();
4139
}
4240
}

0 commit comments

Comments
 (0)