Ejemplo n.º 1
0
        public async Task CreateAccountEvent()
        {
            var input           = new AccountEvent();
            var employerRequest = new TestRequest(new Uri(ExpectedApiBaseUrl + $"api/events/accounts"), JsonConvert.SerializeObject(input));

            _fakeHandler.AddFakeResponse(employerRequest, new HttpResponseMessage {
                StatusCode = HttpStatusCode.OK, Content = new StringContent(string.Empty)
            });

            await _sut.CreateAccountEvent(input);

            Assert.Pass();
        }