diff options
author | Keuin <[email protected]> | 2022-08-14 11:17:43 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-08-14 11:17:43 +0800 |
commit | cd33c1361a47aa6f8a5e484c0025a0a4fab6cb51 (patch) | |
tree | 31f7120ec878bdbe8a465c5efca6e7d730737356 /src/test/java/com | |
parent | 45a66f441cc67a4891114b379ff02c06fe5711cc (diff) |
Code reformat.
Diffstat (limited to 'src/test/java/com')
-rw-r--r-- | src/test/java/com/keuin/crosslink/messaging/router/ConcreteRouterTest.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/test/java/com/keuin/crosslink/messaging/router/ConcreteRouterTest.java b/src/test/java/com/keuin/crosslink/messaging/router/ConcreteRouterTest.java index b9ace8d..3f6f9bd 100644 --- a/src/test/java/com/keuin/crosslink/messaging/router/ConcreteRouterTest.java +++ b/src/test/java/com/keuin/crosslink/messaging/router/ConcreteRouterTest.java @@ -6,12 +6,10 @@ import com.keuin.crosslink.messaging.action.RouteAction; import com.keuin.crosslink.messaging.filter.IFilter; import com.keuin.crosslink.messaging.filter.ReIdFilter; import com.keuin.crosslink.messaging.message.IMessage; -import com.keuin.crosslink.messaging.rule.IRule; import com.keuin.crosslink.messaging.rule.ImmutableRule; import com.keuin.crosslink.messaging.rule.ObjectType; import com.keuin.crosslink.messaging.sender.ISender; import com.keuin.crosslink.testable.FakeEndpoint; -import com.keuin.crosslink.testable.FakeRouter; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -21,14 +19,14 @@ import java.util.List; import java.util.UUID; import java.util.regex.Pattern; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; class ConcreteRouterTest { private ConcreteRouter router; - private FakeEndpoint ep1 = new FakeEndpoint("a"); - private FakeEndpoint ep2 = new FakeEndpoint("b"); - private FakeEndpoint ep3 = new FakeEndpoint("c"); + private final FakeEndpoint ep1 = new FakeEndpoint("a"); + private final FakeEndpoint ep2 = new FakeEndpoint("b"); + private final FakeEndpoint ep3 = new FakeEndpoint("c"); @BeforeEach void setUp() { |