public async void RaceLogin_Should_Call_IApiRequestProvider_CreatePostRequest() { _requestProvider.CreatePostRequest(Arg.Any <string>(), Arg.Any <Dictionary <string, string> >(), Arg.Any <MazebotLoginRequest>(), Arg.Any <Dictionary <string, string> >()); var request = new MazebotLoginRequest(); await _client.RaceLogin(request); _requestProvider.Received(1).CreatePostRequest($"{_noopsUrl}/mazebot/race/start", Arg.Any <Dictionary <string, string> >(), request, Arg.Any <Dictionary <string, string> >()); }
private async Task <MazebotLoginResponse> RaceLogin(MazebotLoginRequest request) { return(await _apiClient.RaceLogin(request)); }