public async Task GetAgreementEventsById() { long fromEventId = 1; int pageSize = 200; int pageNumber = 2; var employerRequest = new TestRequest(new Uri(ExpectedApiBaseUrl + $"api/events/engagements?fromEventId={fromEventId}&pageSize={pageSize}&pageNumber={pageNumber}"), string.Empty); _fakeHandler.AddFakeResponse(employerRequest, new HttpResponseMessage { StatusCode = HttpStatusCode.OK, Content = new StringContent(JsonConvert.SerializeObject(new List <AgreementEventView>())) }); await _sut.GetAgreementEventsById(fromEventId, pageSize, pageNumber); Assert.Pass(); }