def METHOD_NAME(self, m_logger):
    tx = Transaction.from_json(test_json_MessageTransaction)
    tx.sign(self.alice)
    self.assertIsInstance(tx, MessageTransaction)
    # Test that common Transaction components were copied over.
    self.assertEqual('010300a1da274e68c88b0ccf448e0b1916fa789b01eb2ed4e9ad565ce264c9390782a9c61ac02f',
                     bin2hstr(tx.addr_from))
    self.assertEqual('01030038ea6375069f8272cc1a6601b3c76c21519455603d370036b97c779ada356'
                     '5854e3983bd564298c49ae2e7fa6e28d4b954d8cd59398f1225b08d6144854aee0e',
                     bin2hstr(tx.PK))
    self.assertEqual(b'Test Message', tx.message_hash)
    self.assertEqual('cbe7c40a86e82b8b6ac4e7df812f882183bd85d60f335cd83483d6831e61f4ec', bin2hstr(tx.txhash))
    self.assertEqual(10, tx.ots_key)
    self.assertEqual(test_signature_MessageTransaction, bin2hstr(tx.signature))
    self.assertEqual(1, tx.fee)