Exemplo n.º 1
0
        public static void CheckDiagnose(IBus bus)
        {
            Thread.Sleep(1000);
            var diagnose = bus.GetDiagnose();

            Assert.AreEqual(0, diagnose.NumberOfItemsForTimeout, "Items for timeout");
            Assert.AreEqual(0, diagnose.SynchronizationContexts, "Synchronization contexts");
        }