@Test
  public void testTrimBeforeParse() {
    assertEquals(155L, MemorySize.parseBytes("      155      "));
    assertEquals(155L, MemorySize.parseBytes("      155      bytes   "));
  }
Tests for the {@link MemorySize} class.
amoro-common/src/test/java/org/apache/amoro/utils/MemorySizeTest.java