@Test
  public void testGetShortTextFormatScanRequest() {
    ClientProtos.ScanRequest.Builder builder = ClientProtos.ScanRequest.newBuilder();
    builder.setRegion(REGION);
    ClientProtos.ScanRequest scanRequest = builder.build();

    String actual = ProtobufUtil.getShortTextFormat(scanRequest);

    assertNotNull(actual);
    assertEquals("region { type: REGION_NAME value: \"test\" }", actual);
  }
Used to confirm that we only consider truncatedMessage as EOF
hbase-client/src/test/java/org/apache/hadoop/hbase/shaded/protobuf/TestProtobufUtil.java