### Question:
ValueAdjustment implements ImmutableBean, Serializable { @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (obj != null && obj.getClass() == this.getClass()) { ValueAdjustment other = (ValueAdjustment) obj; return JodaBeanUtils.equal(modifyingValue, other.modifyingValue) && JodaBeanUtils.equal(type, other.type); } return false; } private  ValueAdjustment(
      double modifyingValue,
      ValueAdjustmentType type); static ValueAdjustment ofReplace(double replacementValue); static ValueAdjustment ofDeltaAmount(double deltaAmount); static ValueAdjustment ofDeltaMultiplier(double deltaMultiplier); static ValueAdjustment ofMultiplier(double multiplier); @Override String toString(); double adjust(double baseValue); static ValueAdjustment.Meta meta(); @Override ValueAdjustment.Meta metaBean(); double getModifyingValue(); ValueAdjustmentType getType(); @Override boolean equals(Object obj); @Override int hashCode(); static final ValueAdjustment NONE; }### Answer:
@Test public void equals() { ValueAdjustment a1 = ValueAdjustment.ofReplace(200); ValueAdjustment a2 = ValueAdjustment.ofReplace(200); ValueAdjustment b = ValueAdjustment.ofDeltaMultiplier(200); ValueAdjustment c = ValueAdjustment.ofDeltaMultiplier(0.1); assertThat(a1.equals(a2)).isEqualTo(true); assertThat(a1.equals(b)).isEqualTo(false); assertThat(a1.equals(c)).isEqualTo(false); }