def METHOD_NAME(self):
    self.assertIsNone(TransactionMetadata.get_tx_metadata(self.state, b'test1'))
    alice_xmss = get_alice_xmss()
    tx = TransferTransaction.create(addrs_to=[get_some_address(1), get_some_address(2)],
                                    amounts=[1, 2],
                                    message_data=None,
                                    fee=0,
                                    xmss_pk=alice_xmss.pk)
    block_number = 5
    timestamp = 10000
    TransactionMetadata.put_tx_metadata(self.state, tx, block_number, timestamp, None)
    tx_metadata = TransactionMetadata.get_tx_metadata(self.state, tx.txhash)
    self.assertEqual(tx_metadata[0].to_json(), tx.to_json())
    self.assertEqual(tx_metadata[1], block_number)