Replaces the routing notification channel with a type that is passed in by the consumer. This allows tests waiting for routing notifications to deterministically buffer and inspect the entire set of notifications.
Tests in DHT package are a little more awkward to write since they have to pass in a RoutingNotifier but we need to do a pass over the test helpers anyway and should clean all of it up with some helper functions.
Replaces the routing notification channel with a type that is passed in by the consumer. This allows tests waiting for routing notifications to deterministically buffer and inspect the entire set of notifications.
Tests in DHT package are a little more awkward to write since they have to pass in a RoutingNotifier but we need to do a pass over the test helpers anyway and should clean all of it up with some helper functions.