private async Task SetupAsync() { TransportListener = CreateTransportListener(); await TransportListener.StartAsync(CancellationToken); var serverTcpTransportTask = TransportListener.AcceptTransportAsync(CancellationToken); ClientTransport = CreateClientTransport(); await ClientTransport.OpenAsync(Uri, CancellationToken); SynchronizedClientTransport = new SynchronizedTransportDecorator(ClientTransport); ServerTransport = await serverTcpTransportTask; await ServerTransport.OpenAsync(Uri, CancellationToken); SynchronizedServerTransport = new SynchronizedTransportDecorator(ServerTransport); Message = Dummy.CreateMessage(Dummy.CreateTextContent()); }