'Test sending a counter trade'

@blocking_call_on_reactor_thread
def test_send_counter_trade(self):

    self.market_community.update_ip(TraderId('b'), ('127.0.0.1', 1234))
    counter_trade = CounterTrade(MessageId(TraderId('a'), MessageNumber('2')), self.order.order_id, OrderId(TraderId('b'), OrderNumber(3)), 1235, Price(3, 'MC'), Quantity(4, 'BTC'), Timestamp.now())
    self.market_community.send_counter_trade(counter_trade)
