Akka.Interfaced.SlimServer.ActorBoundChannelTest.RequestToUnboundActor_Exception C# (CSharp) Method

RequestToUnboundActor_Exception() private method

private RequestToUnboundActor_Exception ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        private async Task RequestToUnboundActor_Exception()
        {
            // Arrange
            var channel = ActorOf<TestActorBoundChannel>();
            var dummy = ActorOf<DummyActor>();

            // Act
            var r = await channel.Ask<ResponseMessage>(new TestActorBoundChannel.Request
            {
                ActorId = 1,
                Message = new RequestMessage
                {
                    RequestId = 1,
                    InvokePayload = new IDummy_PayloadTable.Call_Invoke { param = "Test" }
                }
            });

            // Assert
            Assert.Equal(1, r.RequestId);
            Assert.IsType<RequestTargetException>(r.Exception);
        }