Unit tests for EventBus #318

Merged
lars.winzer merged 3 commits from feat/135-write-unit-tests-for-eventbus into main 2026-04-27 00:55:44 +02:00
Showing only changes of commit d36a78eee4 - Show all commits
@@ -10,13 +10,13 @@ import org.junit.jupiter.api.Test;
public class EventBusTest {
private EventBus eventBus;
private class TestEvent implements Event {}
@BeforeEach
void setUp() {
eventBus = new EventBus();
}
static class TestEvent implements Event {}
@Test
void testSingleSubscriberReceivesEvent() {
AtomicBoolean called = new AtomicBoolean(false);