a1156960b9
Resolves 1113 documentation-completeness gaps flagged by CommentChecker (MissingReturns, MissingInheritDoc, InheritDocMisused, MissingDoc, MissingParam, RedundantInheritDoc) so the API surface is fully documented and the analyzer scan is clean. Doc comments only; no code changes.
21 lines
666 B
C#
21 lines
666 B
C#
namespace ZB.MOM.WW.MxGateway.Client.Tests;
|
|
|
|
public sealed class MxGatewayGeneratedContractTests
|
|
{
|
|
/// <summary>Verifies that the generated gRPC client can be instantiated from the client factory.</summary>
|
|
/// <returns>A task that represents the asynchronous operation.</returns>
|
|
[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);
|
|
}
|
|
}
|