public void Setup() { var executionRepository = new ExecutionRepository(); IMailbox mailbox = executionRepository; IReportCommandExecution reportCommandExecution = executionRepository; _getCommandResult = executionRepository; _dispatcher = new MyDispatcher(reportCommandExecution, mailbox); }
public Inquiry(IGetCommandResult getCommandResult) { _getCommandResult = getCommandResult; }