Пример #1
0
        public void FromQueue_ParamtersPersist()
        {
            var source = QueueFramework.FromQueue("a", "b");

            Assert.AreEqual("a", source.ConnectionString);
            Assert.AreEqual("b", source.QueueName);
        }
Пример #2
0
        public void FromTopicSubscription_ParamtersPersist()
        {
            var source = QueueFramework.FromTopicSubscription("a", "b", "c");

            Assert.AreEqual("a", source.ConnectionString);
            Assert.AreEqual("b", source.QueueName);
            Assert.AreEqual("c", source.SubscriptionName);
        }
Пример #3
0
        public void MaxConcurrency_ShouldNotBeZero()
        {
            var source = QueueFramework.FromQueue("a", "b");

            Assert.AreNotEqual(0, source.MaxConcurrency);
        }