@Test
  public void testGetShortTextFormatMultiRequest() throws IOException {
    ClientProtos.Action action = ClientProtos.Action.newBuilder()
      .setGet(ProtobufUtil.toGet(new Get(Bytes.toBytes("foo")))).build();
    ClientProtos.RegionAction regionAction =
      ClientProtos.RegionAction.newBuilder().addAction(action).setRegion(REGION).build();

    ClientProtos.MultiRequest multiRequest =
      ClientProtos.MultiRequest.newBuilder().addRegionAction(regionAction).build();

    String actual = ProtobufUtil.getShortTextFormat(multiRequest);

    assertNotNull(actual);
    assertEquals("region= test, for 1 action(s) and 1st row key=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