}
}
public void testSimpleSubscription() throws Exception
{
SubscriptionTicket subscriptionTicket = subscriptionManager.subscribe(
eventSourceNS, eventSinkEndpoint, eventSinkEndpoint, null, null
);
assertNotNull(subscriptionTicket.getIdentifier());
assertNotNull(subscriptionTicket.getExpires());
assertTrue(subscriptionTicket.getExpires().getTime() > System.currentTimeMillis());
assertNotNull(subscriptionTicket.getSubscriptionManager());
}