public void Setup() { _algorithm = new QCAlgorithm(); _transactionHandler = new BrokerageTransactionHandler(); _resultHanlder = new NonDequeingTestResultsHandler(); _brokerage = new TestBrokerage(); _brokerageSetupHandler = new TestableBrokerageSetupHandler(); _transactionHandler.Initialize(_algorithm, _brokerage, _resultHanlder); }