@Test public void testEquals() { ExperimentIDList oneList = ExperimentIDList.withExperimentIDList(ids).build(); ExperimentIDList anotherList = ExperimentIDList.withExperimentIDList(ids).build(); assertEquals(oneList, anotherList); anotherList.getExperimentIDs().remove(0); assertNotEquals(oneList, anotherList); assertNotEquals(oneList, null); assertNotEquals(oneList, "Apple"); assertEquals(oneList, oneList); }
@Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }
ExperimentIDList { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } }
ExperimentIDList { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } protected  ExperimentIDList(); }
ExperimentIDList { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } protected  ExperimentIDList(); static Builder newInstance(); static Builder from(ExperimentIDList value); static Builder withExperimentIDList(List<Experiment.ID> experimentIDs); List<Experiment.ID> getExperimentIDs(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
ExperimentIDList { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } protected  ExperimentIDList(); static Builder newInstance(); static Builder from(ExperimentIDList value); static Builder withExperimentIDList(List<Experiment.ID> experimentIDs); List<Experiment.ID> getExperimentIDs(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }