ComponentSearchParams { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ComponentSearchParams params = (ComponentSearchParams) o; return Objects.equals(getName(), params.getName()) && Objects.equals(getComponentType(), params.getComponentType()) && Objects.equals(getPageIndex(), params.getPageIndex()) && Objects.equals(getPageSize(), params.getPageSize()) && getOrderClauses().equals(params.getOrderClauses()) && getFields().equals(params.getFields()); } private  ComponentSearchParams(Builder builder); static Builder builder(); String getName(); String getComponentType(); String getPageIndex(); String getPageSize(); List<String> getOrderClauses(); List<String> getFields(); @Override boolean equals(Object o); @Override int hashCode(); static final ComponentSearchParams ALL_COMPONENTS; }
@Test public void testEquals() { EqualsVerifier.forClass(ComponentSearchParams.class) .withNonnullFields("orderClauses", "fields") .verify(); }