public TestBotManager() { ApiClient = DummyFactory.CreateDummyApiClient(); var botModule = new ChoiceBotMain.ChoiceBot(ApiClient); Manager = new BotManager(ApiClient); Manager.AddBot(botModule); }
public static DummyApiClient CreateDummyApiClient() { var apiClient = new DummyApiClient { CurrentUser = { Id = "123", DisplayName = "The Choicer Bot", IsBot = true, UserName = "******" } }; return(apiClient); }