public async Task StartupAsync() { _factory.Should().NotBeNull(); var client = _factory.CreateClient(); client.Should().NotBeNull(); var result = await client.GetAsync("/"); result.IsSuccessStatusCode.Should().BeTrue(); }
public void Startup() { _factory.Should().NotBeNull(); _factory.CreateClient().Should().NotBeNull(); }