summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/com/keuin/crosslink/testable/FakeRouter.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/com/keuin/crosslink/testable/FakeRouter.java b/src/test/java/com/keuin/crosslink/testable/FakeRouter.java
index 0512b3e..f5ee0e3 100644
--- a/src/test/java/com/keuin/crosslink/testable/FakeRouter.java
+++ b/src/test/java/com/keuin/crosslink/testable/FakeRouter.java
@@ -47,6 +47,11 @@ public class FakeRouter implements IRouter {
this.rules = newChain;
}
+ @Override
+ public void clearEndpoints() {
+ endpoints.clear();
+ }
+
public List<IMessage> getMessages() {
return messages;
}