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

def test_on_signal_basic_check(self):

    signal_event = SignalEvent('MSFT', 'BOT')
    self.portfolio_handler.on_signal(signal_event)
    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)
