public void SetUp() { // Setup ICardPriceStore Mocks priceStoreMock = new Mock <ICardPriceStore>(); // Setup ICommandParser Mocks commandParserMock = new Mock <ICommandParser>(); // Setup IHttpClient Mocks httpClientMock = new Mock <IHttpClient>(); // Setup IUrlShortener Mocks urlShortenerMock = new Mock <IUrlShortener>(); // Setup IMessenger Mocks messengerMock = new Mock <IMessenger>(); plugin = new WhatsNotPlugin( mtgStore, priceStoreMock.Object, commandParserMock.Object, httpClientMock.Object, urlShortenerMock.Object, new BotConfig()); plugin.LoggingService = loggingServiceMock.Object; }
public void SetUp() { plugin = new WhatsNotPlugin( unitTestContext.BotServicesMock.Object, unitTestContext.BotConfig); plugin.LoggingService = unitTestContext.LoggingServiceMock.Object; }