using LiteCharms.Features.Shop.Products; namespace LiteCharms.Features.Tests; public class ProductsFeatureTests(CommonFixture fixture, ITestOutputHelper output) : IClassFixture { [Fact] public async Task GetProductsAsync_ReturnsProducts() { var productService = fixture.Services.GetRequiredService(); var result = await productService.GetProductsAsync(); Assert.True(result.IsSuccess); Assert.NotNull(result.Value); output.WriteLine($"Retrieved {result.Value.Length} products."); } }