public QueryMovies() { mapper = MapperHelper.GetMapper(); imdbApi = Substitute.For <IImdbMovieConnectorApi>(); lambda3Api = Substitute.For <ILambda3MovieConnectorApi>(); logger = LoggerHelper.GetLogger <QueryMoviesHandler>(); handler = new QueryMoviesHandler(mapper, logger, lambda3Api, imdbApi); }
public QueryTournamentHandler(IMapper mapper, ILogger <QueryTournamentHandler> logger, ILambda3MovieConnectorApi lambda3Api, IImdbMovieConnectorApi imdbApi) { this.mapper = mapper; this.logger = logger; this.lambda3Api = lambda3Api; this.imdbApi = imdbApi; }