Notification extends JPAEntity implements Serializable { public boolean isEnableClearNotification() { String enableClearNotification = getGOCField(ENABLE_CLEAR_NOTIFICATION_KEY); boolean result = true; if (enableClearNotification != null && enableClearNotification.equalsIgnoreCase("false")) { result = false; } return result; } Notification(String name, Alert alert, String notifierName, List<String> subscriptions, long cooldownPeriod); protected  Notification(); @SuppressWarnings("unchecked") static void updateActiveStatusAndCooldown(EntityManager em, List<Notification> notifications); static Metric getMetricToAnnotate(String metric); Alert getAlert(); void setAlert(Alert alert); String getNotifierName(); void setNotifierName(String notifierName); List<String> getSubscriptions(); void setSubscriptions(List<String> subscriptions); long getCooldownPeriod(); void setCooldownPeriod(long cooldownPeriod); long getCooldownExpirationByTriggerAndMetric(Trigger trigger, Metric metric); void setCooldownExpirationByTriggerAndMetric(Trigger trigger, Metric metric, long cooldownExpiration); Map<String, Long> getCooldownExpirationMap(); void setCooldownExpirationMap(Map<String, Long> cooldownExpirationByTriggerAndMetric); List<String> getMetricsToAnnotate(); void setMetricsToAnnotate(List<String> metricsToAnnotate); boolean onCooldown(Trigger trigger, Metric metric); String getName(); void setName(String name); List<Trigger> getTriggers(); void setTriggers(List<Trigger> triggers); boolean isActiveForTriggerAndMetric(Trigger trigger, Metric metric); void setActiveForTriggerAndMetric(Trigger trigger, Metric metric, boolean active); boolean getSRActionable(); void setSRActionable(boolean isSRActionable); int getSeverityLevel(); void setSeverityLevel(int severityLevel); Map<String, Boolean> getActiveStatusMap(); void setActiveStatusMap(Map<String, Boolean> activeStatusByTriggerAndMetric); String getCustomText(); void setCustomText(String customText); String getArticleNumber(); void setArticleNumber(String articleNumber); String getElementName(); void setElementName(String elementName); String getEventName(); void setEventName(String eventName); String getProductTag(); void setProductTag(String productTag); boolean isEnableClearNotification(); void setEnableClearNotification(boolean enableClearNotification); String getEmailSubject(); void setEmailSubject(String subject); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testEnableClearNotificationDefaultValue() { Notification testNotification = new Notification(); assertTrue(testNotification.isEnableClearNotification()); }