@Test public void testEquals() { PageExperiment pe2 = PageExperiment.withAttributes(id, label, false).build(); assertFalse(pe.equals(null)); assertFalse(pe.equals("notAnPageExperiment")); assertTrue(pe.equals(pe)); assertTrue(pe.equals(pe2)); pe2.setAllowNewAssignment(true); assertFalse(pe.equals(pe2)); }
@Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }
PageExperiment implements Cloneable, Serializable { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } }
PageExperiment implements Cloneable, Serializable { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }  }
PageExperiment implements Cloneable, Serializable { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }  static Builder withAttributes(Experiment.ID experimentID, Experiment.Label label, boolean allowNewAssignment); Experiment.ID getId(); void setId(Experiment.ID id); Experiment.Label getLabel(); void setLabel(Experiment.Label label); boolean getAllowNewAssignment(); void setAllowNewAssignment(boolean allowNewAssignment); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override PageExperiment clone(); }
PageExperiment implements Cloneable, Serializable { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }  static Builder withAttributes(Experiment.ID experimentID, Experiment.Label label, boolean allowNewAssignment); Experiment.ID getId(); void setId(Experiment.ID id); Experiment.Label getLabel(); void setLabel(Experiment.Label label); boolean getAllowNewAssignment(); void setAllowNewAssignment(boolean allowNewAssignment); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override PageExperiment clone();  }