//TODO: test specific code, remove
@Override
    public void reloadActiveSubscribers(long generation) {
        testGeneration = Optional.of(generation);
        List<CloudSubscriber> subscribers = new ArrayList<>(activeSubscribers.keySet());
        subscribers.forEach(s -> s.subscriber.reload(generation));
    }
@Override
public void reloadActiveSubscribers(long generation) {
testGeneration = Optional.of(generation);
List<CloudSubscriber> subscribers = new ArrayList<>(activeSubscribers.keySet());
subscribers.forEach(s -> s.subscriber.reload(generation));
}
@Override
public void reloadActiveSubscribers(long generation) {
testGeneration = Optional.of(generation);
List<CloudSubscriber> subscribers = new ArrayList<>(activeSubscribers.keySet());
subscribers.forEach(s -> s.subscriber.reload(generation));
}
@Override
public void reloadActiveSubscribers(long generation) {
testGeneration = Optional.of(generation);
List<CloudSubscriber> subscribers = new ArrayList<>(activeSubscribers.keySet());
subscribers.forEach(s -> s.subscriber.reload(generation));
}