MuwsEventReceiver receiver = subscription.getReceiver(); ReceivedEvent event = receiver.waitForEvent(getSubscribeWaitTimeout()); assertNotNull("Subscription timed out",event);
ReceivedEvent event = subscription.waitForEvent(getSubscribeWaitTimeout()); assertNotNull("Subscription timed out waiting for "+reason,event);
    public ReceivedEvent waitForSubscription()  {        assertNotNull("No subscription",subscription);        MuwsEventReceiver receiver = subscription.getReceiver();        ReceivedEvent event = receiver.waitForEvent(getSubscribeWaitTimeout());        assertNotNull("Subscription timed out",event);        return event;    }