'Test the payment payload'

def test_properties(self):

    self.assertEquals(MessageNumber('1'), self.payment_payload.message_number)
    self.assertEquals(TransactionNumber(2), self.payment_payload.transaction_number)
    self.assertEquals(Price(10, 'BTC'), self.payment_payload.transferee_price)
    self.assertEquals(Quantity(20, 'MC'), self.payment_payload.transferee_quantity)
    self.assertEquals('3', str(self.payment_payload.payment_id))
    self.assertEquals(Timestamp(0.0), self.payment_payload.timestamp)
    self.assertEquals(WalletAddress('a'), self.payment_payload.address_from)
    self.assertEquals(WalletAddress('b'), self.payment_payload.address_to)
    self.assertEquals(True, self.payment_payload.success)
