@Test public void testEquals() { ExperimentPage ep = ExperimentPage.withAttributes(Page.Name.valueOf("fluffy"), true).build(); ExperimentPage ep2 = ExperimentPage.withAttributes(Page.Name.valueOf("fluffy"), true).build(); assertTrue(ep.equals(ep)); assertFalse(ep.equals(null)); assertFalse(ep.equals(42)); assertTrue(ep.equals(ep2)); }
@Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }
ExperimentPage implements Cloneable { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } }
ExperimentPage implements Cloneable { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }  }
ExperimentPage implements Cloneable { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }  static Builder withAttributes(Page.Name name, boolean allowNewAssignment); Page.Name getName(); void setName(Page.Name name); boolean getAllowNewAssignment(); void setAllowNewAssignment(boolean allowNewAssignment); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override ExperimentPage clone(); }
ExperimentPage implements Cloneable { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }  static Builder withAttributes(Page.Name name, boolean allowNewAssignment); Page.Name getName(); void setName(Page.Name name); boolean getAllowNewAssignment(); void setAllowNewAssignment(boolean allowNewAssignment); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override ExperimentPage clone();  }