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

def test_convert_fill_to_portfolio_update_basic_check(self):

    fill_event_buy = FillEvent(datetime.datetime.utcnow(), 'MSFT', 'BOT', 100, 'ARCA', Decimal('50.25'), Decimal('1.00'))
    self.portfolio_handler._convert_fill_to_portfolio_update(fill_event_buy)
    port = self.portfolio_handler.portfolio
    self.assertEqual(port.cur_cash, Decimal('494974.00'))
    fill_event_sell = FillEvent(datetime.datetime.utcnow(), 'MSFT', 'SLD', 100, 'ARCA', Decimal('50.25'), Decimal('1.00'))
    self.portfolio_handler._convert_fill_to_portfolio_update(fill_event_sell)
