@Test
  public void testGetShortTextFormatGetRequest() throws IOException {
    ClientProtos.GetRequest getRequest = ClientProtos.GetRequest.newBuilder().setRegion(REGION)
      .setGet(ProtobufUtil.toGet(new Get(Bytes.toBytes("foo")))).build();

    String actual = ProtobufUtil.getShortTextFormat(getRequest);

    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