assertThat(listener3.getObservedChangeSet().size(), is(0));
assertThat(listener1.getObservedChangeSet().get(0), is(changeSet));
}
private ClusteredChangeBus startNewBus() throws Exception {
ClusteringService clusteringService = ClusteringService.startStandalone("test-bus-process", "config/jgroups-test-config.xml");
clusteringServices.add(clusteringService);
ChangeBus internalBus = new RepositoryChangeBus("repo", Executors.newCachedThreadPool());
ClusteredChangeBus bus = new ClusteredChangeBus(internalBus, clusteringService);
bus.start();
buses.add(bus);