Bottles.Services.Tests.Remote.BigRemoteServicesIntegrationTester.coordinate_message_history_via_remote_service C# (CSharp) Метод

coordinate_message_history_via_remote_service() приватный Метод

private coordinate_message_history_via_remote_service ( ) : void
Результат void
        public void coordinate_message_history_via_remote_service()
        {
            using (var runner = RemoteServiceRunner.For<SampleBootstrapper>())
            {
                runner.WaitForServiceToStart<SampleService.SampleService>();
                runner.WaitForServiceToStart<SampleService.RemoteService>();

                MessageHistory.StartListening(runner);

                var foo = new Foo();

                EventAggregator.SentMessage(foo);

                EventAggregator.Messaging.WaitForMessage<AllMessagesComplete>(() => runner.SendRemotely(foo), 60000)
                                   .ShouldNotBeNull();

            }
        }