}
public void testFirstMemberhandleGET_ALL_SESSIONS() throws Exception {
MockDeltaManager manager = new MockDeltaManager() ;
MockCluster cluster = new MockCluster ();
McastService service = new MockMcastService() ;
cluster.setMembershipService(service);
manager.setCluster(cluster);
manager.getAllClusterSessions();
assertEquals(0,cluster.sendcounter);
manager.setSendClusterDomainOnly(false);
manager.getAllClusterSessions();
assertEquals(0,cluster.sendcounter);
manager.setSendClusterDomainOnly(true);
service.memberAdded(new McastMember("franz2", "d11", "127.0.0.1", 7002, 100));
manager.getAllClusterSessions();
assertEquals(0,cluster.sendcounter);
service.memberAdded(new McastMember("franz3", "d10", "127.0.0.1", 7003, 100));
assertNotNull(manager.findSessionMasterMember());
}