public void Setup() { var mappingProfiles = new MappingProfile(); _pokeAPIServiceMock = new Mock <IPokeAPIService>(); _translateMock = new Mock <ITranslateService>(); _mapperConfig = new MapperConfiguration(x => x.AddProfile(mappingProfiles)); _sut = new PokemonFacade(_pokeAPIServiceMock.Object, _mapperConfig.CreateMapper(), _translateMock.Object); }
public PokemonController(IPokemonFacade pokemonFacade) { _pokemonFacade = pokemonFacade; }