@Test
  public void testBasicOperation() throws Exception {
    for (Pair pair : pairList) {
      for (Class clazz : VALID_MESSAGE_FORMAT_INPUT_STREAM_IMPLS) {
        for (boolean divergeInfoFromData : new boolean[]{false, true}) {
          InputAndExpected inputAndExpected = new InputAndExpected(pair, clazz, divergeInfoFromData);
          TransformationOutput output = transformer.transform(inputAndExpected.getInput());
          assertNull("output exception should be null", output.getException());
          verifyOutput(output.getMsg(), inputAndExpected.getExpected());
        }
      }
    }
  }
Tests basic use of transformer with blobs that can be converted and those that aren't
@throws Exception
ambry-replication/src/test/java/com/github/ambry/replication/BlobIdTransformerTest.java