@Test(timeout=10000)
public void testAsyncHubUnsubscribeWithInvalidSubscriberId() throws Exception {
Client hubClient = new HedwigHubClient(new HubClientConfiguration());
Subscriber hubSubscriber = hubClient.getSubscriber();
hubSubscriber.asyncUnsubscribe(getTopic(0), localSubscriberId, new TestCallback(queue), null);
assertFalse(queue.take());
hubClient.close();
}
@Test(timeout=10000)