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