//System.out.println("11:\n" + tx.getRequest());
presenceSession.sendResponse(Response.OK, tx); // 14
presence = getPresence(tx.getRequest());
assertEquals(Basic.CLOSED, presence.getTupleArray()[0].getStatus().getBasic());
tx = winfoSession.waitForNotify(); // 15
notify = tx.getRequest();
winfoSession.sendResponse(Response.OK, tx); // 16
System.out.println(notify);
subState = (SubscriptionStateHeader) notify.getHeader(SubscriptionStateHeader.NAME);
assertEquals(SubscriptionStateHeader.ACTIVE.toLowerCase(), subState.getState().toLowerCase());