public SendMessageTests() { this.state = SlackBotState.Initialize("1", "testbot"); this.config = new TestConfig(); this.bus = new RxMessageBus(); }
public BotInitializeTests() { this.state = SlackBotState.Initialize("1", "testbot"); this.config = new TestConfig(); this.driver = new TestDriver(this.state); this.bus = new RxMessageBus(); }
public async Task InitializeAsync() { this.state = SlackBotState.Initialize("1", "testbot"); this.config = new TestConfig(); this.driver = new TestDriver(this.state); this.bus = new RxMessageBus(); this.bot = await SlackBot.InitializeAsync(this.driver, this.bus); }