Files
mxaccessgw/clients/dotnet/MxGateway.Client.Tests/MxGatewayGeneratedContractTests.cs
2026-04-26 19:25:07 -04:00

19 lines
466 B
C#

namespace MxGateway.Client.Tests;
public sealed class MxGatewayGeneratedContractTests
{
[Fact]
public async Task GeneratedGrpcClient_CanBeConstructedFromClientFactory()
{
var options = new MxGatewayClientOptions
{
Endpoint = new Uri("http://localhost:5000"),
ApiKey = "test-api-key",
};
await using var client = MxGatewayClient.Create(options);
Assert.NotNull(client.RawClient);
}
}