public String toSnapshot(boolean hOption) {
    return String.format(SNAPSHOT_FORMAT, formatSize(snapshotLength, hOption),
        formatSize(snapshotFileCount, hOption),
        formatSize(snapshotDirectoryCount, hOption),
        formatSize(snapshotSpaceConsumed, hOption));
  }
@Test
  public void testToSnapshotNotHumanReadable() {
    long snapshotLength = 1111;
    long snapshotFileCount = 2222;
    long snapshotDirectoryCount = 3333;
    long snapshotSpaceConsumed = 4444;

    ContentSummary contentSummary = new ContentSummary.Builder()
        .snapshotLength(snapshotLength).snapshotFileCount(snapshotFileCount)
        .snapshotDirectoryCount(snapshotDirectoryCount)
        .snapshotSpaceConsumed(snapshotSpaceConsumed).build();
    String expected =
        "              1111                     2222                     3333 "
            + "                        4444 ";
    assertEquals(expected, contentSummary.toSnapshot(false));
  }