public ReceiveImageDialog(ITeamWebService teamWebService, //IActionWebService ITelegramBotClient telegramBotClient, ILogger <ReceiveImageDialog> logger) : base(logger) { _teamWebService = teamWebService; _telegramBotClient = telegramBotClient; }
public InitDialogTest() { _logger = A.Fake <ILogger <InitDialog> >(); _testContainerBuilder.RegisterInstance(_logger).As <ILogger <InitDialog> >(); _testContainerBuilder.RegisterType <InitDialog>().As <IInitDialog>(); _gameWebService = A.Fake <IGameWebService>(); _testContainerBuilder.RegisterInstance(_gameWebService); _teamWebService = A.Fake <ITeamWebService>(); _testContainerBuilder.RegisterInstance(_teamWebService); _container = _testContainerBuilder.Build(); _target = _container.Resolve <IInitDialog>(); }
public ReceiveImageDialogTest() { _testContainerBuilder.RegisterType <ReceiveImageDialog>(); _logger = A.Fake <ILogger <ReceiveImageDialog> >(); _testContainerBuilder.RegisterInstance(_logger).As <ILogger <ReceiveImageDialog> >(); _teamWebService = A.Fake <ITeamWebService>(); _telegramBotClient = A.Fake <ITelegramBotClient>(); _testContainerBuilder.RegisterInstance(_telegramBotClient).As <ITelegramBotClient>(); _testContainerBuilder.RegisterInstance(_teamWebService).As <ITeamWebService>(); _container = _testContainerBuilder.Build(); _target = _container.Resolve <ReceiveImageDialog>(); }
public ReceiveDocumentDialog(ITeamWebService teamWebService, ITelegramBotClient telegramBotClient, ILogger <ReceiveDocumentDialog> logger) : base(logger) { _teamWebService = teamWebService; _telegramBotClient = telegramBotClient; }
public InitDialog(IGameWebService gameWebService, ITeamWebService teamWebService, ILogger <InitDialog> logger) : base(logger) { _gameWebService = gameWebService; _teamWebService = teamWebService; }