@Test
  public void testGetShortTextFormatMutateRequest() throws IOException {
    ClientProtos.MutateRequest mutateRequest = ClientProtos.MutateRequest.newBuilder()
      .setMutation(
        ProtobufUtil.toMutation(MutationType.INCREMENT, new Increment(Bytes.toBytes("foo"))))
      .setRegion(REGION).build();

    String actual = ProtobufUtil.getShortTextFormat(mutateRequest);

    assertNotNull(actual);
    assertEquals("region= test, row=foo", actual);
  }
Used to confirm that we only consider truncatedMessage as EOF
hbase-client/src/test/java/org/apache/hadoop/hbase/shaded/protobuf/TestProtobufUtil.java