private void verifyOutput(Message output, Message expected) throws IOException {
    if (expected == null) {
      assertNull("output should be null", output);
    } else {
      assertEquals("MessageInfos not equal", expected.getMessageInfo(), output.getMessageInfo());
      TestUtils.assertInputStreamEqual(expected.getStream(), output.getStream(),
          (int) expected.getMessageInfo().getSize(), true);
    }
  }
Runs all the {@link Pair#getFirst()} outputs from the {@link Pair} list through
the {@link StoreKeyConverter} storeKeyConverter.
Intended to be run so that the StoreKeyConverter's
{@link StoreKeyConverter#getConverted(StoreKey)} method can
work on any of the pairs' getFirst() outputs.
@param pairs
@param storeKeyConverter
@throws Exception {@link StoreKeyConverter#convert(Collection)} may throw an Exception
ambry-replication/src/test/java/com/github/ambry/replication/BlobIdTransformerTest.java