code: def testMarketOrder(self):
      strat = self.createStrategy()
  
      o = strat.getBroker().createMarketOrder(
          broker.Order.Action.BUY, StrategyTestCase.TestInstrument, 1
      )
      strat.getBroker().submitOrder(o)
      strat.run()
      self.assertTrue(o.isFilled())
      self.assertEqual(strat.orderUpdatedCalls, 3)
  
imports: import datetime
  from .None import common
  from pyalgotrade import strategy
  from pyalgotrade import broker
  from pyalgotrade.barfeed import yahoofeed
label_desc: Use image node_id 1 for calling the BrokerOrderTestCase obj's underlying member method code with example usage: obj.testMarketOrder() without return types