### Question:
CustomTokenOperation { @Override public boolean equals(Object other) { if (this == other) { return true; } if (other instanceof CustomTokenOperation) { CustomTokenOperation otherOperation = (CustomTokenOperation)other; return customTokenName.equals(otherOperation.customTokenName) && customOperationClassName.equals(otherOperation.customOperationClassName); } return false; } CustomTokenOperation(String customTokenName, String customOperationClassName); String getCustomTokenName(); String getCustomOperationClassName(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); JsonValue toJson(); static CustomTokenOperation fromJson(JsonValue json); String toSMSString(); static CustomTokenOperation fromSMSString(String smsString);  }### Answer:
@Test public void testEquals() { CustomTokenOperation customTokenOperation = new CustomTokenOperation(CUSTOM_TOKEN_NAME, CUSTOM_TOKEN_OPERATION_IMPL); CustomTokenOperation customTokenOperation2 = new CustomTokenOperation(CUSTOM_TOKEN_NAME, CUSTOM_TOKEN_OPERATION_IMPL); assertEquals(customTokenOperation, customTokenOperation2); assertNotEquals(customTokenOperation, new CustomTokenOperation(CUSTOM_TOKEN_NAME, "foo")); }