@ParameterizedTest
  @MethodSource("testToHumanReadableStringProvider")
  public void testToHumanReadableString(long bytes, String expected) {
    assertThat(new MemorySize(bytes).toHumanReadableString(), is(expected));
  }
Tests for the {@link MemorySize} class.
amoro-common/src/test/java/org/apache/amoro/utils/MemorySizeTest.java