def METHOD_NAME(self):
    m_state = Mock(name='A Mock State', autospec=State)
    m_state.get_address_state.return_value = Mock(name='A Mock AddressState', autospec=OptimizedAddressState)
    self.chain_manager = Mock(autospec=ChainManager)
    self.chain_manager._state = m_state
    tx_attrs = {
        'validate.return_value': True,  # Custom validation for different Transaction Types
        'validate_extended.return_value': True,  # Master/slave XMSS tree validation; balance & fee, OTS key reuse
        'validate_transaction_pool.return_value': True  # checks for OTS key reuse within TransactionPool only
    }
    self.tx1 = make_tx(name='Mock TX 1', **tx_attrs)
    self.tx2 = make_tx(name='Mock TX 2', **tx_attrs)
    self.tx3 = make_tx(name='Mock TX 3', **tx_attrs)
    self.tx4 = make_tx(name='Mock TX 4', **tx_attrs)
    self.m_txpool = Mock(autospec=TransactionPool)
    self.m_txpool.get_pending_transaction.side_effect = [(self.tx1, replacement_getTime()),
                                                         (self.tx2, replacement_getTime()),
                                                         (self.tx3, replacement_getTime()),
                                                         (self.tx4, replacement_getTime())]
    self.m_broadcast_tx = Mock(autospec=P2PFactory.broadcast_tx)
    self.txnprocessor = TxnProcessor(chain_manager=self.chain_manager,
                                     transaction_pool_obj=self.m_txpool,
                                     broadcast_tx=self.m_broadcast_tx)