### Question:
ContentSummary implements Writable { public static String getHeader(boolean qOption) { return qOption ? QUOTA_HEADER : HEADER; } @Deprecated  ContentSummary(); @Deprecated  ContentSummary(long length, long fileCount, long directoryCount); @Deprecated  ContentSummary(
      long length, long fileCount, long directoryCount, long quota,
      long spaceConsumed, long spaceQuota); private  ContentSummary(
      long length, long fileCount, long directoryCount, long quota,
      long spaceConsumed, long spaceQuota, long typeConsumed[],
      long typeQuota[]); long getLength(); long getDirectoryCount(); long getFileCount(); long getQuota(); long getSpaceConsumed(); long getSpaceQuota(); long getTypeQuota(StorageType type); long getTypeConsumed(StorageType type); boolean isTypeQuotaSet(); boolean isTypeConsumedAvailable(); @Override @InterfaceAudience.Private void write(DataOutput out); @Override @InterfaceAudience.Private void readFields(DataInput in); static String getHeader(boolean qOption); static String[] getHeaderFields(); static String[] getQuotaHeaderFields(); @Override String toString(); String toString(boolean qOption); String toString(boolean qOption, boolean hOption);  }### Answer:
@Test public void testGetHeaderWithQuota() { String header = " QUOTA REM_QUOTA SPACE_QUOTA " + "REM_SPACE_QUOTA DIR_COUNT FILE_COUNT CONTENT_SIZE "; assertEquals(header, ContentSummary.getHeader(true)); }
@Test public void testGetHeaderNoQuota() { String header = " DIR_COUNT FILE_COUNT CONTENT_SIZE "; assertEquals(header, ContentSummary.getHeader(false)); }