public async Task Get_Returns_Ok() { var content = new StringContent(JsonConvert.SerializeObject(DummyGenerator.Any <SaveDomainEventsCommand>()), Encoding.Default, "application/json"); var response = await Client.PostAsync("/api/events", content); response.EnsureSuccessStatusCode(); }