Akka.Tests.IO.TcpIntegrationSpec.The_TCP_transport_implementation_should_properly_handle_connection_abort_from_client_side C# (CSharp) Method

The_TCP_transport_implementation_should_properly_handle_connection_abort_from_client_side() private method

        public void The_TCP_transport_implementation_should_properly_handle_connection_abort_from_client_side()
        {
            new TestSetup(this).Run(x =>
            {
                var actors = x.EstablishNewClientConnection();
                actors.ClientHandler.Send(actors.ClientConnection, Tcp.Abort.Instance);
                actors.ClientHandler.ExpectMsg<Tcp.Aborted>();
                actors.ServerHandler.ExpectMsg<Tcp.ErrorClosed>();
                VerifyActorTermination(actors.ClientConnection);
                VerifyActorTermination(actors.ServerConnection);
            });
        }