@Test void buildShouldReturnEmptyWhenBelow() { assertThat(QuotaThresholdNotice.builder() .sizeQuota(Sizes._82_PERCENT) .countQuota(Counts._82_PERCENT) .sizeThreshold(HistoryEvolution.lowerThresholdReached(new QuotaThresholdChange(_80, NOW))) .withConfiguration(DEFAULT_CONFIGURATION) .build()) .isEmpty(); }
public static Builder builder() { return new Builder(); }
QuotaThresholdNotice { public static Builder builder() { return new Builder(); } }
QuotaThresholdNotice { public static Builder builder() { return new Builder(); } @VisibleForTesting  QuotaThresholdNotice(Optional<QuotaThreshold> countThreshold, Optional<QuotaThreshold> sizeThreshold,
                         Quota<QuotaSizeLimit, QuotaSizeUsage> sizeQuota, Quota<QuotaCountLimit, QuotaCountUsage> countQuota, QuotaMailingListenerConfiguration configuration); }
QuotaThresholdNotice { public static Builder builder() { return new Builder(); } @VisibleForTesting  QuotaThresholdNotice(Optional<QuotaThreshold> countThreshold, Optional<QuotaThreshold> sizeThreshold,
                         Quota<QuotaSizeLimit, QuotaSizeUsage> sizeQuota, Quota<QuotaCountLimit, QuotaCountUsage> countQuota, QuotaMailingListenerConfiguration configuration); static Builder builder(); MimeMessageBuilder generateMimeMessage(FileSystem fileSystem); @Override final boolean equals(Object o); @Override final int hashCode(); }
QuotaThresholdNotice { public static Builder builder() { return new Builder(); } @VisibleForTesting  QuotaThresholdNotice(Optional<QuotaThreshold> countThreshold, Optional<QuotaThreshold> sizeThreshold,
                         Quota<QuotaSizeLimit, QuotaSizeUsage> sizeQuota, Quota<QuotaCountLimit, QuotaCountUsage> countQuota, QuotaMailingListenerConfiguration configuration); static Builder builder(); MimeMessageBuilder generateMimeMessage(FileSystem fileSystem); @Override final boolean equals(Object o); @Override final int hashCode();  }