'Test the addition of a payment to a transaction'

def test_add_payment(self):

    self.transaction.add_payment(self.payment)
    self.assertEqual(self.transaction.transferred_price, Price(2, 'BTC'))
    self.assertEqual(self.transaction.transferred_quantity, Quantity(3, 'MC'))
    self.assertTrue(self.transaction.payments)
