@Test public void testCopy() { final StringFilter copy = filter.copy(); assertThat(copy).isNotSameAs(filter); assertThat(copy.getEquals()).isNull(); assertThat(copy.getNotEquals()).isNull(); assertThat(copy.getSpecified()).isNull(); assertThat(copy.getIn()).isNull(); assertThat(copy.getNotIn()).isNull(); assertThat(copy.getContains()).isNull(); assertThat(copy.getDoesNotContain()).isNull(); assertThat(copy.toString()).isEqualTo("StringFilter []"); }
@Override public StringFilter copy() { return new StringFilter(this); }
StringFilter extends Filter<String> { @Override public StringFilter copy() { return new StringFilter(this); } }
StringFilter extends Filter<String> { @Override public StringFilter copy() { return new StringFilter(this); } StringFilter();  StringFilter(final StringFilter filter); }
StringFilter extends Filter<String> { @Override public StringFilter copy() { return new StringFilter(this); } StringFilter();  StringFilter(final StringFilter filter); @Override StringFilter copy(); String getContains(); StringFilter setContains(String contains); String getDoesNotContain(); StringFilter setDoesNotContain(String doesNotContain); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); }
StringFilter extends Filter<String> { @Override public StringFilter copy() { return new StringFilter(this); } StringFilter();  StringFilter(final StringFilter filter); @Override StringFilter copy(); String getContains(); StringFilter setContains(String contains); String getDoesNotContain(); StringFilter setDoesNotContain(String doesNotContain); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }