diff --git a/payment/src/test/java/com/ning/billing/payment/api/TestPaymentApi.java b/payment/src/test/java/com/ning/billing/payment/api/TestPaymentApi.java
index ef492b4..0fda201 100644
--- a/payment/src/test/java/com/ning/billing/payment/api/TestPaymentApi.java
+++ b/payment/src/test/java/com/ning/billing/payment/api/TestPaymentApi.java
@@ -109,7 +109,15 @@ public abstract class TestPaymentApi {
assertTrue(paymentInfos.size() > 0);
PaymentInfo paymentInfoFromGet = paymentInfos.get(0);
- assertEquals(paymentInfo, paymentInfoFromGet);
+ assertEquals(paymentInfo.getAmount(), paymentInfoFromGet.getAmount());
+ assertEquals(paymentInfo.getRefundAmount(), paymentInfoFromGet.getRefundAmount());
+ assertEquals(paymentInfo.getPaymentId(), paymentInfoFromGet.getPaymentId());
+ assertEquals(paymentInfo.getPaymentNumber(), paymentInfoFromGet.getPaymentNumber());
+ assertEquals(paymentInfo.getStatus(), paymentInfoFromGet.getStatus());
+ assertEquals(paymentInfo.getBankIdentificationNumber(), paymentInfoFromGet.getBankIdentificationNumber());
+ assertEquals(paymentInfo.getReferenceId(), paymentInfoFromGet.getReferenceId());
+ assertEquals(paymentInfo.getPaymentMethodId(), paymentInfoFromGet.getPaymentMethodId());
+ assertEquals(paymentInfo.getEffectiveDate(), paymentInfoFromGet.getEffectiveDate());
PaymentAttempt paymentAttemptFromGet = paymentApi.getPaymentAttemptForInvoiceId(invoice.getId().toString());
assertEquals(paymentAttempt, paymentAttemptFromGet);