public async Task SlimClientGetExceptionOfPendingRequestAfterChannelClosed(ChannelType type)
{
// Arrange
var gateway = CreatePrimaryGateway(type);
var clientChannel = await CreatePrimaryClientChannelAsync(type);
var entry = clientChannel.CreateRef<EntryRef>();
// Act
var exception = await Record.ExceptionAsync(() => entry.Echo("Close"));
// Assert
Assert.IsType<RequestChannelException>(exception);
}