@Test
  public void replicateWithOldPutAndNewPutTest() throws Exception {
    ReplicationTestSetup testSetup = new ReplicationTestSetup(10);
    Pair<String, String> testCaseAndExpectResult = new Pair<>("OP NP", "NP");
    createMixedMessagesOnRemoteHost(testSetup, testCaseAndExpectResult.getFirst());
    replicateAndVerify(testSetup, testCaseAndExpectResult.getSecond());
  }
Test the case where remote host has a sequence of Old_Put, New_Put messages and local host is initially empty.
Verify that local host only has New_Put after replication.
ambry-replication/src/test/java/com/github/ambry/replication/ReplicationTest.java