'Tests the "_place_orders_onto_queue" method
as a basic sanity check.'

def test_place_orders_onto_queue_basic_check(self):

    order = OrderEvent('MSFT', 'BOT', 100)
    order_list = [order]
    self.portfolio_handler._place_orders_onto_queue(order_list)
    ret_order = self.portfolio_handler.events_queue.get()
    self.assertEqual(ret_order.ticker, 'MSFT')
    self.assertEqual(ret_order.action, 'BOT')
    self.assertEqual(ret_order.quantity, 100)
