LynxConfig implements Serializable, Cloneable { public boolean hasFilter() { return !"".equals(filter) || !TraceLevel.VERBOSE.equals(filterTraceLevel); } LynxConfig(); LynxConfig setMaxNumberOfTracesToShow(int maxNumberOfTracesToShow); LynxConfig setFilter(String filter); LynxConfig setFilterTraceLevel(TraceLevel filterTraceLevel); LynxConfig setTextSizeInPx(float textSizeInPx); LynxConfig setSamplingRate(int samplingRate); int getMaxNumberOfTracesToShow(); String getFilter(); TraceLevel getFilterTraceLevel(); boolean hasFilter(); float getTextSizeInPx(); boolean hasTextSizeInPx(); int getSamplingRate(); @Override boolean equals(Object o); @Override int hashCode(); @Override Object clone(); @Override String toString();  }
@Test public void shouldHasNoFilterByDefault() { LynxConfig lynxConfig = new LynxConfig(); assertFalse(lynxConfig.hasFilter()); }