assertEquals(AOR, watcherList.getResource());
assertEquals(PresenceEventPackage.NAME, watcherList.getPackage());
assertEquals(0, watcherList.getWatcherArray().length);
Subscription subscription = new Subscription(presentity, null, 100, SUBSCRIBER_AOR);
subscription.addListener(resource);
subscription.setState(Subscription.State.PENDING, Reason.SUBSCRIBE);
//System.out.println(resource.getState().getContent());
assertEquals(1, eventListener._nbNotif);
subscription.setState(Subscription.State.ACTIVE, Reason.APPROVED);