diff --git a/testutils/src/main/java/com/amplifyframework/testutils/HubAccumulator.java b/testutils/src/main/java/com/amplifyframework/testutils/HubAccumulator.java index 3dcb4fe92..665926af7 100644 --- a/testutils/src/main/java/com/amplifyframework/testutils/HubAccumulator.java +++ b/testutils/src/main/java/com/amplifyframework/testutils/HubAccumulator.java @@ -197,6 +197,9 @@ public HubEvent awaitFirst(int amount, TimeUnit unit) { return events.isEmpty() ? null : events.get(0); } + /** + * Unsubscribe from the Hub. + */ public void stop() { Amplify.Hub.unsubscribe(this.token.get()); }