OnUsField { @Override public boolean equals(Object anObject) { if (this == anObject) { return true; } if (anObject instanceof OnUsField) { OnUsField anOnUsField = (OnUsField) anObject; if (this.optionalField4.equals(anOnUsField.optionalField4) && this.accountNumber.equals(anOnUsField.accountNumber) && this.tranCode.equals(anOnUsField.tranCode)) { return true; } } return false; } @SuppressWarnings("unused") private  OnUsField();  OnUsField(String value);  OnUsField(String optionalField4,
                     String accountNumber,
                     String tranCode); static OnUsField valueOf(String onusValue); String getOptionalField4(); String getAccountNumber(); String getTranCode(); @Override boolean equals(Object anObject); @Override String toString(); static final String STRING_20; }
@Test public void testEquals() throws Exception { OnUsField f = new OnUsField("", "12345", "20"); assertEquals(f, testField); }