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

def test_create_order_from_signal_basic_check(self):

    signal_event = SignalEvent('MSFT', 'BOT')
    order = self.portfolio_handler._create_order_from_signal(signal_event)
    self.assertEqual(order.ticker, 'MSFT')
    self.assertEqual(order.action, 'BOT')
    self.assertEqual(order.quantity, 0)
