@Test public void testEquals() { ExperimentBatch expBatchCopy = ExperimentBatch.from(expBatch).build(); expBatchCopy.getProfile().remove("a.b.c"); assertNotEquals(expBatch, expBatchCopy); assertNotEquals(expBatch, null); assertNotEquals(expBatch, 42); assertEquals(expBatch, expBatch); }
@Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }
ExperimentBatch { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } }
ExperimentBatch { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } protected  ExperimentBatch(); }
ExperimentBatch { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } protected  ExperimentBatch(); static Builder newInstance(); static Builder from(ExperimentBatch batch); Set<Experiment.Label> getLabels(); Map<String, Object> getProfile(); Map<String, Object> getPersonalizationParameters(); void setProfile(Map<String, Object> profile); void setLabels(Set<Experiment.Label> labels); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
ExperimentBatch { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } protected  ExperimentBatch(); static Builder newInstance(); static Builder from(ExperimentBatch batch); Set<Experiment.Label> getLabels(); Map<String, Object> getProfile(); Map<String, Object> getPersonalizationParameters(); void setProfile(Map<String, Object> profile); void setLabels(Set<Experiment.Label> labels); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }