assertEquals(0, realSubs.get());
}
private AtomicInteger countSubscriptions(StandardLiveDataServer server) {
final AtomicInteger fakeSubs = new AtomicInteger(0);
server.addSubscriptionListener(new SubscriptionListener() {
@Override
public void unsubscribed(Subscription subscription) {
fakeSubs.decrementAndGet();
}
@Override