@Test
public void testMergeAll() {

  ReplicaMap temReplicaMap = new ReplicaMap(new ReentrantReadWriteLock());
  Block tmpBlock = new Block(5678, 5678, 5678);
  temReplicaMap.add(bpid, new FinalizedReplica(tmpBlock, null, null));
  map.mergeAll(temReplicaMap);
  assertNotNull(map.get(bpid, 1234));
  assertNotNull(map.get(bpid, 5678));
}