assertFalse(myRemoteEventService.isActive());
myRemoteEventService.addUnlistenListener(UnlistenEventListener.Scope.LOCAL, theUnlistenEventListener, theUnlistenEvent, null);
assertFalse(myRemoteEventService.isActive());
assertFalse(myRemoteEventService.isActive());
myRemoteEventService.addListener(TEST_DOMAIN, new EventListenerTestMode());
assertTrue(myRemoteEventService.isActive());
assertEquals(1, theUnlistenEventListener.getEventCount());
assertEquals(1, theUnlistenEventListener.getEventCount(DefaultUnlistenEvent.class));