using Microsoft.AspNetCore.Mvc.Testing; using Xunit; namespace StellaOps.Gateway.WebService.Tests; public class GatewayHealthTests : IClassFixture> { private readonly WebApplicationFactory _factory; public GatewayHealthTests(WebApplicationFactory factory) { _factory = factory; } [Fact] public async Task HealthEndpoint_ReturnsOk() { // Arrange var client = _factory.CreateClient(); // Act var response = await client.GetAsync("/health"); // Assert response.EnsureSuccessStatusCode(); } }