public async void GetMazebotRaceTrack_Should_Call_IApiRequestProvider_CreateGetRequest() { _requestProvider.CreateGetRequest(Arg.Any <string>(), Arg.Any <Dictionary <string, string> >(), Arg.Any <Dictionary <string, string> >()); var url = "mapUrl"; await _client.GetMazebotRaceTrack(url); _requestProvider.Received(1).CreateGetRequest($"{_noopsUrl}/{url}", Arg.Any <Dictionary <string, string> >(), Arg.Any <Dictionary <string, string> >()); }
private async Task <MazebotResponse> GetRaceTrack(string url) { return(await _apiClient.GetMazebotRaceTrack(url)); }