ReplicasClusterListener implements ClusterEventListener, ClusterMasterTokenTransitionListener { @Override public void masterTokenAcquired() { updateNumberOfReplicas(); } ReplicasClusterListener(
		ReplicasClusterContext replicasClusterContext); @Override void masterTokenAcquired(); @Override void masterTokenReleased(); @Override void processClusterEvent(ClusterEvent clusterEvent);  }
@Test public void testMasterTokenAcquired() { masterTokenAcquired(); assertReplicasChanged(); }