@Test
public void testToSnapshotHumanReadable() {

  long snapshotLength = Long.MAX_VALUE;
  long snapshotFileCount = 222222222;
  long snapshotDirectoryCount = 33333;
  long snapshotSpaceConsumed = 222256578;
  ContentSummary contentSummary = new ContentSummary.Builder()
      .snapshotLength(snapshotLength).snapshotFileCount(snapshotFileCount)
      .snapshotDirectoryCount(snapshotDirectoryCount)
      .snapshotSpaceConsumed(snapshotSpaceConsumed).build();
  String expected =
      "             8.0 E                  211.9 M                   32.6 K "
          + "                     212.0 M ";
  assertEquals(expected, contentSummary.toSnapshot(true));
}