def METHOD_NAME(self):
    transaction = self.create_sample_disputed_transaction()
    collection = Dispute.search([
        DisputeSearch.customer_id == transaction.customer_details.id
    ])
    disputes = [dispute for dispute in collection.disputes.items]
    self.assertEquals(1, len(disputes))
    dispute = disputes[0]
    self.assertEquals(dispute.id, transaction.disputes[0].id)
    self.assertEquals(dispute.status, Dispute.Status.Open)