@Test public void should_be_equal_when_having_1_value() { QualityMeasure qm1 = new QualityMeasure(); qm1.setName("name"); QualityMeasure qm2 = new QualityMeasure(); qm2.setName("name"); assertEquals(qm1, qm2); }
public void setName(String name) { this.name = name; }
QualityMeasure { public void setName(String name) { this.name = name; } }
QualityMeasure { public void setName(String name) { this.name = name; }  }
QualityMeasure { public void setName(String name) { this.name = name; }  Double getValue(); void setValue(Double value); String getFormattedValue(); void setFormattedValue(String formattedValue); String getName(); void setName(String name); void setKey(String key); String getKey(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
QualityMeasure { public void setName(String name) { this.name = name; }  Double getValue(); void setValue(Double value); String getFormattedValue(); void setFormattedValue(String formattedValue); String getName(); void setName(String name); void setKey(String key); String getKey(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }