Ejemplo n.º 1
0
 public void SetUp()
 {
     _endpointMock   = new Mock <IOptions <APIEndpoints> >();
     _restClientMock = new Mock <IRestClient>();
     SetupAPIEndpoints();
     _sut = new PokeAPIServices(_endpointMock.Object, _restClientMock.Object);
 }
Ejemplo n.º 2
0
 public PokemonFacade(IPokeAPIService pokeApiService, IMapper mapper, ITranslateService translateService)
 {
     _pokeApiService   = pokeApiService;
     _mapper           = mapper;
     _translateService = translateService;
 }