@Test
  public void testGetShortTextFormatRegionServerStartupRequest() {
    RegionServerStatusProtos.RegionServerStartupRequest.Builder builder =
      RegionServerStatusProtos.RegionServerStartupRequest.newBuilder();
    builder.setPort(8080);
    builder.setServerCurrentTime(111111L);
    builder.setServerStartCode(15L);
    builder.setUseThisHostnameInstead("some-host-name");
    RegionServerStatusProtos.RegionServerStartupRequest regionServerStartupRequest =
      builder.build();

    String actual = ProtobufUtil.getShortTextFormat(regionServerStartupRequest);

    assertNotNull(actual);
    assertEquals("port: 8080 server_start_code: 15 server_current_time: 111111"
      + " use_this_hostname_instead: \"some-host-name\"", actual);
  }
Used to confirm that we only consider truncatedMessage as EOF
hbase-client/src/test/java/org/apache/hadoop/hbase/shaded/protobuf/TestProtobufUtil.java