### Question:
CEP { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final CEP other = (CEP) obj; if (numero == null) { if (other.numero != null) { return false; } } else if (!numero.equals(other.numero)) { return false; } return true; } CEP(String numero); String getNumero(); String getNumeroFormatado(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void shouldHaveDomainDrivenEquals() { CEP a = new CEP("12345-678"); CEP b = new CEP("12345-678"); assertTrue(a.equals(b)); assertTrue(b.equals(a)); }