Lines Matching refs:listener1
35 MessagingListener listener1 = new MessagingListener();
38 groupListener.addListener(listener1);
41 groupListener.removeListener(listener1);
51 MessagingListener listener1 = new MessagingListener();
54 assertFalse(groupListener.isActiveListener(listener1));
57 groupListener.addListener(listener1);
58 assertTrue(groupListener.isActiveListener(listener1));
62 assertTrue(groupListener.isActiveListener(listener1));
65 groupListener.removeListener(listener1);
66 assertFalse(groupListener.isActiveListener(listener1));
70 assertFalse(groupListener.isActiveListener(listener1));