Table of Contents

Namespace TUnit.Assertions.Extensions

Classes

Exception_IsRpcException_Assertion

Generated assertion for IsRpcException

GrpcDelegateAssertionExtensions

TUnit entry points for asserting on gRPC call outcomes. These extend the delegate assertion source produced by Assert.That(() => client.Method(...)), so the call is executed and its thrown RpcException (if any) is inspected by the returned assertion. The methods live in TUnit.Assertions.Extensions so they are auto-imported alongside TUnit's own assertions.

GrpcServerStreamAssertionExtensions

TUnit entry point for asserting on the responses of a gRPC server-streaming call. Extends the value assertion source produced by Assert.That(call) where call is an AsyncServerStreamingCall<TResponse>, returning a chain that reads the response stream once and validates the accumulated expectations. The method lives in TUnit.Assertions.Extensions so it is auto-imported alongside TUnit's own assertions.

RpcExceptionAssertions