Style: Change order and visibility of nested class to private
This commit is contained in:
+2
-2
@@ -10,13 +10,13 @@ import org.junit.jupiter.api.Test;
|
|||||||
public class EventBusTest {
|
public class EventBusTest {
|
||||||
private EventBus eventBus;
|
private EventBus eventBus;
|
||||||
|
|
||||||
|
private class TestEvent implements Event {}
|
||||||
|
|
||||||
@BeforeEach
|
@BeforeEach
|
||||||
void setUp() {
|
void setUp() {
|
||||||
eventBus = new EventBus();
|
eventBus = new EventBus();
|
||||||
}
|
}
|
||||||
|
|
||||||
static class TestEvent implements Event {}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void testSingleSubscriberReceivesEvent() {
|
void testSingleSubscriberReceivesEvent() {
|
||||||
AtomicBoolean called = new AtomicBoolean(false);
|
AtomicBoolean called = new AtomicBoolean(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user