@Test
  public void testGetShortTextFormatMoveRegionRequest() {
    MasterProtos.MoveRegionRequest.Builder builder = MasterProtos.MoveRegionRequest.newBuilder();
    builder.setRegion(REGION);
    builder.setDestServerName(SERVER_NAME);
    MasterProtos.MoveRegionRequest moveRegionRequest = builder.build();

    String actual = ProtobufUtil.getShortTextFormat(moveRegionRequest);

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