using LiteCharms.Features.Api.Configuration; using LiteCharms.Features.Tests.Common; namespace LiteCharms.Features.Tests; public sealed class PayfastFeatureTests(Fixture fixture) : IClassFixture { private readonly PayfastSettings payfastSettings = fixture.Services.GetRequiredService>().Value; [IntegrationFact] public void PayfastSettings_ShouldFail_IfNotLoaded() { Assert.NotEmpty(payfastSettings.CheckoutUrl!); Assert.NotEmpty(payfastSettings.MerchantId!); Assert.NotEmpty(payfastSettings.MerchantKey!); Assert.NotEmpty(payfastSettings.Passphrase!); } }