code: def testCompleteFill(self):
      order = self.__buildAcceptedLimitOrder(
          broker.Order.Action.BUY, 1, 1
      )
      self.assertEqual(order.getRemaining(), 1)
      self.assertEqual(order.getFilled(), 0)
      self.assertEqual(order.getAvgFillPrice(), None)
      self.assertEqual(order.getExecutionInfo(), None)
  
      order.addExecutionInfo(
          broker.OrderExecutionInfo(0.9, 1, 0, datetime.datetime.now())
      )
      self.assertTrue(order.isFilled())
      self.assertEqual(order.getRemaining(), 0)
      self.assertEqual(order.getFilled(), 1)
      self.assertEqual(order.getAvgFillPrice(), 0.9)
  
file_path: pyalgotrade/testcases/broker_test.py
imports: import datetime
  from .None import common
  from pyalgotrade import broker
label_desc: Use image node_id 2 for calling the OrderTestCase obj's underlying member method code with example usage: obj.testCompleteFill() without return types